|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.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 ComponentManagerct - the Class object for the MsgFlowComponent implementation
java.lang.ClassCastExceptionpublic MsgFlowComponent newInstance(java.lang.Class c)
ComponentManager
newInstance in interface ComponentManagerc - the Class object for the component type
ComponentManager.getComponentTypes()public java.lang.Class[] getComponentTypes()
ComponentManager
getComponentTypes in interface ComponentManagerpublic MsgFlowComponent[] getInstances()
ComponentManager
getInstances in interface ComponentManagerpublic void removeInstance(MsgFlowComponent comp)
ComponentManager
removeInstance in interface ComponentManagercomp - the instance to removepublic MsgFolder[] getRootFolders()
ComponentManager
getRootFolders in interface ComponentManagerpublic SendFolder[] getSendFolders()
ComponentManager
getSendFolders in interface ComponentManagerpublic 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 | ||||||||||