|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
UMOManager maintains and provides services for a UMO server
instance.
| Method Summary | |
void |
fireNotification(UMOServerNotification notification)
Fires a server notification to all regiistered listeners |
Map |
getConnectors()
Gets an unmodifiable collection of Connectors registered with the UMOManager |
UMOContainerContext |
getContainerContext()
associates a Dependency Injector container with Mule. |
Map |
getEndpointIdentifiers()
Gets an unmodifiable collection of endpoints registered with the UMOManager |
Map |
getEndpoints()
Gets an unmodifiable collection of endpoints registered with the UMOManager |
String |
getId()
Gets the unique Id for this Manager instance. |
UMOModel |
getModel()
The model used for managing components for this server |
Map |
getProperties()
Gets all properties associated with the UMOManager |
Object |
getProperty(Object key)
Getter for the envionment parameters declared in the mule-config.xml |
QueueManager |
getQueueManager()
Gets the queue manager used by mule for queuing events. |
UMOSecurityManager |
getSecurityManager()
Gets the security manager used by this Mule instance to authenticate and authorise incoming and outgoing event traffic and service invocations |
long |
getStartDate()
Returns the long date when the server was started |
TransactionManager |
getTransactionManager()
Returns the Jta transaction manager used by this Mule server instance. |
Map |
getTransformers()
Gets an unmodifiable collection of transformers registered with the UMOManager |
UMOWorkManager |
getWorkManager()
Obtains a workManager instance that can be used to schedule work in a thread pool. |
boolean |
isInitialised()
Determines if the server has been initialised |
boolean |
isStarted()
Determines if the server has been started |
UMOAgent |
lookupAgent(String name)
Will find a registered agent using its name, which is unique for all registered agents |
UMOConnector |
lookupConnector(String logicalName)
|
UMOEndpoint |
lookupEndpoint(String logicalName)
Getter for a global endpoint. |
String |
lookupEndpointIdentifier(String logicalName,
String defaultName)
|
UMOInterceptorStack |
lookupInterceptorStack(String name)
Retrieves a configured interceptor stack. |
UMOTransformer |
lookupTransformer(String name)
Getter method for a Transformer. |
void |
registerAgent(UMOAgent agent)
Will register an agent object on this model. |
void |
registerConnector(UMOConnector connector)
Registers a UMOConnector with the MuleManager. |
void |
registerEndpoint(UMOEndpoint endpoint)
Registers a shared/global endpoint with the MuleManager. |
void |
registerEndpointIdentifier(String logicalName,
String endpoint)
Registers an endpointUri with a logical name |
void |
registerInterceptorStack(String name,
UMOInterceptorStack stack)
registers a interceptor stack list that can be referenced by other components |
void |
registerListener(UMOServerNotificationListener l)
Registers an intenal server event listener. |
void |
registerListener(UMOServerNotificationListener l,
String resourceIdentifier)
Registers an intenal server event listener. |
void |
registerTransformer(UMOTransformer transformer)
Registers a transformer with the MuleManager. |
void |
setContainerContext(UMOContainerContext context)
associates a Dependency Injector container with Mule. |
void |
setId(String id)
Sets the unique Id for this Manager instance. |
void |
setModel(UMOModel model)
The model used for managing components for this server |
void |
setProperty(Object key,
Object value)
Sets an Mule environment parameter in the MuleManager. |
void |
setQueueManager(QueueManager queueManager)
Sets the queue manager used by mule for queuing events. |
void |
setSecurityManager(UMOSecurityManager securityManager)
Sets the security manager used by this Mule instance to authenticate and authorise incoming and outgoing event traffic and service invocations |
void |
setTransactionManager(TransactionManager manager)
Sets the Jta Transaction Manager to use with this Mule server instance |
void |
setWorkManager(UMOWorkManager workManager)
Sets a workManager instance that can be used to schedule work in a thread pool. |
UMOAgent |
unregisterAgent(String name)
Removes and destroys a registered agent |
void |
unregisterConnector(String connectorName)
UnRegisters a UMOConnector with the MuleManager. |
void |
unregisterEndpoint(String endpointName)
unregisters a shared/global endpoint with the MuleManager. |
void |
unregisterEndpointIdentifier(String logicalName)
unregisters an endpointUri with a logical name |
void |
unregisterListener(UMOServerNotificationListener l)
Unregisters a previously registered listener. |
void |
unregisterTransformer(String transformerName)
UnRegisters a transformer with the MuleManager. |
| Methods inherited from interface org.mule.umo.lifecycle.Startable |
start |
| Methods inherited from interface org.mule.umo.lifecycle.Stoppable |
stop |
| Methods inherited from interface org.mule.umo.lifecycle.Disposable |
dispose |
| Method Detail |
public Object getProperty(Object key)
key - the propery name
public UMOConnector lookupConnector(String logicalName)
logicalName - the name of the endpoint to retrieve
public String lookupEndpointIdentifier(String logicalName,
String defaultName)
logicalName - the logical mapping name for an endpointUri i.e. rather
than specifing an endpointUri to be someone@my.com you can supply a
more descriptive name such as The System AdministratordefaultName -
public UMOEndpoint lookupEndpoint(String logicalName)
logicalName - the name of the endpoint
UMOEndpoint or null if it doesn't existpublic UMOTransformer lookupTransformer(String name)
name - the name of the transformer
public void registerConnector(UMOConnector connector)
throws UMOException
UMOConnector with the MuleManager.
connector - the UMOConnector to register
UMOException
public void unregisterConnector(String connectorName)
throws UMOException
UMOConnector with the MuleManager.
connectorName - the name of the UMOConnector to unregister
UMOException
public void registerEndpointIdentifier(String logicalName,
String endpoint)
throws InitialisationException
logicalName - the name of the endpointUriendpoint - the physical endpointUri value
InitialisationExceptionpublic void unregisterEndpointIdentifier(String logicalName)
logicalName - the name of the endpointUri
public void registerEndpoint(UMOEndpoint endpoint)
throws InitialisationException
MuleManager.
endpoint - the UMOEndpoint to register.
InitialisationExceptionpublic void unregisterEndpoint(String endpointName)
MuleManager.
endpointName - the UMOEndpoint name to unregister.
public void registerTransformer(UMOTransformer transformer)
throws InitialisationException
MuleManager.
transformer - the UMOTransformer to register.
InitialisationExceptionpublic void unregisterTransformer(String transformerName)
MuleManager.
transformerName - the UMOTransformer name to register.
public void setProperty(Object key,
Object value)
MuleManager.
key - the parameter namevalue - the parameter value
public void setTransactionManager(TransactionManager manager)
throws Exception
manager - the manager to use
Exceptionpublic TransactionManager getTransactionManager()
public UMOModel getModel()
public void setModel(UMOModel model)
throws UMOException
model - The model used for managing components for this server
UMOExceptionpublic Map getProperties()
public Map getConnectors()
UMOConnectorpublic Map getEndpointIdentifiers()
public Map getEndpoints()
UMOEndpointpublic Map getTransformers()
UMOTransformer
public void registerInterceptorStack(String name,
UMOInterceptorStack stack)
name - the referenceable name for this stackstack - a List of interceptorsUMOInterceptorpublic UMOInterceptorStack lookupInterceptorStack(String name)
name - the name of the stack
public boolean isStarted()
public boolean isInitialised()
public long getStartDate()
public void registerAgent(UMOAgent agent)
throws UMOException
agent -
UMOExceptionpublic UMOAgent lookupAgent(String name)
name - the name of the Agent to find
public UMOAgent unregisterAgent(String name)
throws UMOException
name - the agent name
UMOException
public void registerListener(UMOServerNotificationListener l)
throws NotificationException
l - the listener to register
NotificationException
public void registerListener(UMOServerNotificationListener l,
String resourceIdentifier)
throws NotificationException
l - the listener to registerresourceIdentifier - a particular resource name for the given type of
listener For example, the resourceName could be the name of a
component if the listener was a ComponentNotificationListener
NotificationExceptionpublic void unregisterListener(UMOServerNotificationListener l)
l - the listener to unregisterpublic void fireNotification(UMOServerNotification notification)
notification - the notification to fire
public void setContainerContext(UMOContainerContext context)
throws UMOException
context - a Container context to use.
UMOExceptionpublic UMOContainerContext getContainerContext()
public void setId(String id)
id - the unique Id for this manager in the networkpublic String getId()
public void setSecurityManager(UMOSecurityManager securityManager)
throws InitialisationException
securityManager - the security manager used by this Mule instance to
authenticate and authorise incoming and outgoing event traffic and
service invocations
InitialisationExceptionpublic UMOSecurityManager getSecurityManager()
public UMOWorkManager getWorkManager()
public void setWorkManager(UMOWorkManager workManager)
workManager - the workManager instance used by the current MuleManagerpublic void setQueueManager(QueueManager queueManager)
queueManager - public QueueManager getQueueManager()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||