|
|||||||||||
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 |
fireEvent(UMOServerEvent event)
Fires a server event to all regiistered listeners |
java.util.Map |
getConnectors()
Gets an unmodifiable collection of Connectors registered with the UMOManager |
UMOContainerContext |
getContainerContext()
associates a Dependency Injector container with Mule. |
java.util.Map |
getEndpointIdentifiers()
Gets an unmodifiable collection of endpoints registered with the UMOManager |
java.util.Map |
getEndpoints()
Gets an unmodifiable collection of endpoints registered with the UMOManager |
java.lang.String |
getId()
Gets the unique Id for this Manager instance. |
UMOModel |
getModel()
The model used for managing components for this server |
java.util.Map |
getProperties()
Gets all properties associated with the UMOManager |
java.lang.Object |
getProperty(java.lang.Object key)
Getter for the envionment parameters declared in the nule-config.xml |
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. |
java.util.Map |
getTransformers()
Gets an unmodifiable collection of transformers registered with the UMOManager |
boolean |
isInitialised()
Determines if the server has been initialised |
boolean |
isStarted()
Determines if the server has been started |
UMOConnector |
lookupConnector(java.lang.String logicalName)
|
UMOEndpoint |
lookupEndpoint(java.lang.String logicalName)
Getter for a global endpoint. |
java.lang.String |
lookupEndpointIdentifier(java.lang.String logicalName,
java.lang.String defaultName)
|
java.util.List |
lookupInterceptorStack(java.lang.String name)
Retrieves a configured interceptor stack. |
UMOTransformer |
lookupTransformer(java.lang.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(java.lang.String logicalName,
java.lang.String endpoint)
Registers an endpointUri with a logical name |
void |
registerInterceptorStack(java.lang.String name,
java.util.List stack)
registers a interceptor stack list that can be referenced by other components |
void |
registerListener(UMOServerEventListener l)
Registers an intenal server event listener. |
void |
registerTransformer(UMOTransformer transformer)
Registers a transformer with the MuleManager . |
UMOAgent |
removeAgent(java.lang.String name)
Removes and destroys a registered agent |
void |
setContainerContext(UMOContainerContext context)
associates a Dependency Injector container with Mule. |
void |
setId(java.lang.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(java.lang.Object key,
java.lang.Object value)
Sets an Mule environment parameter in the MuleManager . |
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 |
unregisterConnector(java.lang.String connectorName)
UnRegisters a UMOConnector with the MuleManager . |
void |
unregisterEndpoint(java.lang.String endpointName)
unregisters a shared/global endpoint with the MuleManager . |
void |
unregisterEndpointIdentifier(java.lang.String logicalName)
unregisters an endpointUri with a logical name |
void |
unregisterListener(UMOServerEventListener l)
Unregisters a previously registered listener. |
void |
unregisterTransformer(java.lang.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 java.lang.Object getProperty(java.lang.Object key)
key
- the propery name
public UMOConnector lookupConnector(java.lang.String logicalName)
logicalName
- the name of the endpoint to retrieve
public java.lang.String lookupEndpointIdentifier(java.lang.String logicalName, java.lang.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(java.lang.String logicalName)
logicalName
- the name of the endpoint
UMOEndpoint
or null if it doesn't existpublic UMOTransformer lookupTransformer(java.lang.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(java.lang.String connectorName) throws UMOException
UMOConnector
with the MuleManager
.
connectorName
- the name of the UMOConnector
to unregister
UMOException
public void registerEndpointIdentifier(java.lang.String logicalName, java.lang.String endpoint) throws InitialisationException
logicalName
- the name of the endpointUriendpoint
- the physical endpointUri value
InitialisationException
public void unregisterEndpointIdentifier(java.lang.String logicalName)
logicalName
- the name of the endpointUripublic void registerEndpoint(UMOEndpoint endpoint) throws InitialisationException
MuleManager
.
endpoint
- the UMOEndpoint
to register.
InitialisationException
public void unregisterEndpoint(java.lang.String endpointName)
MuleManager
.
endpointName
- the UMOEndpoint
name to unregister.public void registerTransformer(UMOTransformer transformer) throws InitialisationException
MuleManager
.
transformer
- the UMOTransformer
to register.
InitialisationException
public void unregisterTransformer(java.lang.String transformerName)
MuleManager
.
transformerName
- the UMOTransformer
name to register.public void setProperty(java.lang.Object key, java.lang.Object value)
MuleManager
.
key
- the parameter namevalue
- the parameter valuepublic void setTransactionManager(TransactionManager manager) throws java.lang.Exception
manager
- the manager to use
java.lang.Exception
public TransactionManager getTransactionManager()
public UMOModel getModel()
public void setModel(UMOModel model)
model
- The model used for managing components for this serverpublic java.util.Map getProperties()
public java.util.Map getConnectors()
UMOConnector
public java.util.Map getEndpointIdentifiers()
public java.util.Map getEndpoints()
UMOEndpoint
public java.util.Map getTransformers()
UMOTransformer
public void registerInterceptorStack(java.lang.String name, java.util.List stack)
name
- the referenceable name for this stackstack
- a List of interceptorsUMOInterceptor
public java.util.List lookupInterceptorStack(java.lang.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
-
UMOException
public UMOAgent removeAgent(java.lang.String name) throws UMOException
name
- the agent name
UMOException
public void registerListener(UMOServerEventListener l)
l
- the listener to registerpublic void unregisterListener(UMOServerEventListener l)
l
- the listener to unregisterpublic void fireEvent(UMOServerEvent event)
event
- the event to firepublic void setContainerContext(UMOContainerContext context)
context
- a Container context to use.public UMOContainerContext getContainerContext() throws ComponentResolverException
ComponentResolverException
public void setId(java.lang.String id)
id
- the unique Id for this manager in the networkpublic java.lang.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
InitialisationException
public UMOSecurityManager getSecurityManager()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |