|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.FactoryInstance
flex.messaging.factories.JavaFactoryInstance
public class JavaFactoryInstance
This class is used by the JavaFactory to store the configuration
for an instance created by the JavaFactory. There is one of these for
each destination currently since only destinations create these components.
JavaFactory| Constructor Summary | |
|---|---|
JavaFactoryInstance(JavaFactory factory,
String id,
ConfigMap properties)
Constructs a JavaFactoryInstance, assigning its factory, id,
and properties. |
|
| Method Summary | |
|---|---|
Object |
createInstance()
Creates an instance from specified source and initializes
the instance if it is of FlexConfigurable type. |
String |
getAttributeId()
Returns the attribute id for the JavaFactoryInstance. |
Class |
getInstanceClass()
Creates an instance class from specified source. |
void |
operationComplete(Object instance)
Updates the session so that these values get replicated to other nodes in the cluster. |
void |
setAttributeId(String attributeId)
Sets the attribute id for the JavaFactoryInstance. |
void |
setSource(String source)
Sets the instance class to null, in addition to updating the source property. |
| Methods inherited from class flex.messaging.FactoryInstance |
|---|
getId, getProperties, getScope, getSource, lookup, setScope |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaFactoryInstance(JavaFactory factory,
String id,
ConfigMap properties)
JavaFactoryInstance, assigning its factory, id,
and properties.
factory - The JavaFactory that created this instance.id - The id for the JavaFactoryInstance.properties - The properties for the JavaFactoryInstance.| Method Detail |
|---|
public void setAttributeId(String attributeId)
JavaFactoryInstance.
attributeId - The attribute id for the JavaFactoryInstance.public String getAttributeId()
JavaFactoryInstance.
JavaFactoryInstance.public void setSource(String source)
source property.
setSource in class FactoryInstancepublic Object createInstance()
source and initializes
the instance if it is of FlexConfigurable type.
public Class getInstanceClass()
source.
getInstanceClass in class FactoryInstancepublic void operationComplete(Object instance)
operationComplete in class FactoryInstanceinstance - the instance returned via the lookup method for this
destination for this operation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/blazeds/1/javadoc/flex/messaging/factories/JavaFactoryInstance.html