|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.mflow.impl.ComponentManagerImpl
A class for managing instances of MsgFlowComponent
Method Summary | |
---|---|
void |
addComponentType(java.lang.Class ct)
Adds a new type of component |
java.lang.Class[] |
getComponentTypes()
Gets the registered component types |
MsgFlowComponent[] |
getInstances()
Gets an array of the current instances of MsgFlowComponent |
MsgFolder[] |
getRootFolders()
Gets the root MsgFolders |
SendFolder[] |
getSendFolders()
Gets the active instances of SendFolder |
MsgFlowComponent |
newInstance(java.lang.Class c)
Creates an instance of an MsgFlowComponent. |
void |
removeInstance(MsgFlowComponent comp)
Removes an instance of MsgFlowComponent |
void |
send()
Sends all queued messages |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void addComponentType(java.lang.Class ct) throws java.lang.ClassCastException
ComponentManager
addComponentType
in interface ComponentManager
ct
- the Class object for the MsgFlowComponent implementation
java.lang.ClassCastException
public MsgFlowComponent newInstance(java.lang.Class c)
ComponentManager
newInstance
in interface ComponentManager
c
- the Class object for the component type
ComponentManager.getComponentTypes()
public java.lang.Class[] getComponentTypes()
ComponentManager
getComponentTypes
in interface ComponentManager
public MsgFlowComponent[] getInstances()
ComponentManager
getInstances
in interface ComponentManager
public void removeInstance(MsgFlowComponent comp)
ComponentManager
removeInstance
in interface ComponentManager
comp
- the instance to removepublic MsgFolder[] getRootFolders()
ComponentManager
getRootFolders
in interface ComponentManager
public SendFolder[] getSendFolders()
ComponentManager
getSendFolders
in interface ComponentManager
public void send()
ComponentManager
send
in interface ComponentManager
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |