|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UMOManager
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()
Deprecated. endpoint-identifiers have been deprecated in favor of global-endpoints |
Map |
getEndpoints()
Gets an unmodifiable collection of endpoints registered with the UMOManager |
String |
getId()
Gets the unique Id for this Manager instance. |
Map |
getModels()
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)
Deprecated. endpoint-identifiers have been deprecated in favor of global-endpoints |
UMOInterceptorStack |
lookupInterceptorStack(String name)
Retrieves a configured interceptor stack. |
UMOModel |
lookupModel(String name)
The model used for managing components for this server |
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)
Deprecated. endpoint-identifiers have been deprecated in favor of global-endpoints |
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 |
registerModel(UMOModel model)
|
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 |
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)
Deprecated. endpoint-identifiers have been deprecated in favor of global-endpoints |
void |
unregisterListener(UMOServerNotificationListener l)
Unregisters a previously registered listener. |
void |
unregisterModel(String name)
|
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 |
---|
Object getProperty(Object key)
key
- the propery name
UMOConnector lookupConnector(String logicalName)
logicalName
- the name of the endpoint to retrieve
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
-
UMOEndpoint lookupEndpoint(String logicalName)
logicalName
- the name of the endpoint
UMOEndpoint
or null if it doesn't existUMOTransformer lookupTransformer(String name)
name
- the name of the transformer
void registerConnector(UMOConnector connector) throws UMOException
UMOConnector
with the MuleManager
.
connector
- the UMOConnector
to register
UMOException
void unregisterConnector(String connectorName) throws UMOException
UMOConnector
with the MuleManager
.
connectorName
- the name of the UMOConnector
to unregister
UMOException
void registerEndpointIdentifier(String logicalName, String endpoint) throws InitialisationException
logicalName
- the name of the endpointUriendpoint
- the physical endpointUri value
InitialisationException
void unregisterEndpointIdentifier(String logicalName)
logicalName
- the name of the endpointUrivoid registerEndpoint(UMOEndpoint endpoint) throws InitialisationException
MuleManager
.
endpoint
- the UMOEndpoint
to register.
InitialisationException
void unregisterEndpoint(String endpointName)
MuleManager
.
endpointName
- the UMOEndpoint
name to unregister.void registerTransformer(UMOTransformer transformer) throws InitialisationException
MuleManager
.
transformer
- the UMOTransformer
to register.
InitialisationException
void unregisterTransformer(String transformerName)
MuleManager
.
transformerName
- the UMOTransformer
name to register.void setProperty(Object key, Object value)
MuleManager
.
key
- the parameter namevalue
- the parameter valuevoid setTransactionManager(TransactionManager manager) throws Exception
manager
- the manager to use
Exception
TransactionManager getTransactionManager()
UMOModel lookupModel(String name)
void registerModel(UMOModel model) throws UMOException
UMOException
void unregisterModel(String name)
Map getModels()
Map getProperties()
Map getConnectors()
UMOConnector
Map getEndpointIdentifiers()
Map getEndpoints()
UMOEndpoint
Map getTransformers()
UMOTransformer
void registerInterceptorStack(String name, UMOInterceptorStack stack)
name
- the referenceable name for this stackstack
- a List of interceptorsUMOInterceptor
UMOInterceptorStack lookupInterceptorStack(String name)
name
- the name of the stack
boolean isStarted()
boolean isInitialised()
long getStartDate()
void registerAgent(UMOAgent agent) throws UMOException
agent
-
UMOException
UMOAgent lookupAgent(String name)
name
- the name of the Agent to find
UMOAgent unregisterAgent(String name) throws UMOException
name
- the agent name
UMOException
void registerListener(UMOServerNotificationListener l) throws NotificationException
l
- the listener to register
NotificationException
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
NotificationException
void unregisterListener(UMOServerNotificationListener l)
l
- the listener to unregistervoid fireNotification(UMOServerNotification notification)
notification
- the notification to firevoid setContainerContext(UMOContainerContext context) throws UMOException
context
- a Container context to use.
UMOException
UMOContainerContext getContainerContext()
void setId(String id)
id
- the unique Id for this manager in the networkString getId()
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
InitialisationException
UMOSecurityManager getSecurityManager()
UMOWorkManager getWorkManager()
void setWorkManager(UMOWorkManager workManager)
workManager
- the workManager instance used by the current MuleManagervoid setQueueManager(QueueManager queueManager)
queueManager
- QueueManager getQueueManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |