|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectFactory
ObjectFactory
is a generic Factory interface.
Field Summary |
---|
Fields inherited from interface org.mule.api.lifecycle.Initialisable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Disposable |
---|
PHASE_NAME |
Method Summary | |
---|---|
void |
addObjectInitialisationCallback(InitialisationCallback callback)
Register a custom initialiser |
Object |
getInstance()
Retrieve an instance of the object. |
Class |
getObjectClass()
Returns the class of the object to be instantiated without actually creating an instance. |
boolean |
isExternallyManagedLifecycle()
Returns true if Mule should not manage the life-cycle the object instance returned from the ObjectFactory. |
boolean |
isSingleton()
Returns true if the ObjectFactory implementation always returns the same object instance. |
Methods inherited from interface org.mule.api.lifecycle.Initialisable |
---|
initialise |
Methods inherited from interface org.mule.api.lifecycle.Disposable |
---|
dispose |
Method Detail |
---|
Object getInstance() throws Exception
Exception
Class getObjectClass()
boolean isSingleton()
boolean isExternallyManagedLifecycle()
void addObjectInitialisationCallback(InitialisationCallback callback)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |