|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MuleContext
Field Summary |
---|
Fields inherited from interface org.mule.api.lifecycle.Initialisable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Startable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Stoppable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Disposable |
---|
PHASE_NAME |
Method Summary | |
---|---|
void |
addRegistry(Registry registry)
|
void |
fireNotification(ServerNotification notification)
Fires a server notification to all regiistered listeners |
LocalMuleClient |
getClient()
|
String |
getClusterId()
|
int |
getClusterNodeId()
|
MuleConfiguration |
getConfiguration()
|
Map<QName,Set<Object>> |
getConfigurationAnnotations()
Return all annotations seen in the configuration |
DataTypeConversionResolver |
getDataTypeConverterResolver()
|
MessagingExceptionHandler |
getDefaultExceptionStrategy()
|
ThreadingProfile |
getDefaultMessageDispatcherThreadingProfile()
|
ThreadingProfile |
getDefaultMessageReceiverThreadingProfile()
|
ThreadingProfile |
getDefaultMessageRequesterThreadingProfile()
|
ThreadingProfile |
getDefaultServiceThreadingProfile()
|
ThreadingProfile |
getDefaultThreadingProfile()
|
EndpointFactory |
getEndpointFactory()
Returns the EndpointFactory configured for this instance of Mule |
SystemExceptionHandler |
getExceptionListener()
|
ClassLoader |
getExecutionClassLoader()
|
ExpressionLanguage |
getExpressionLanguage()
Expression Language for evaluating expressions using Mule as the context |
ExpressionManager |
getExpressionManager()
Returns the Expression Manager configured for this instance of Mule |
LifecycleManager |
getLifecycleManager()
|
LockFactory |
getLockFactory()
Factory for creating locks for synchronizing mule components. |
ServerNotificationManager |
getNotificationManager()
|
ProcessingTimeWatcher |
getProcessorTimeWatcher()
|
QueueManager |
getQueueManager()
Gets the queue manager used by mule for queuing events. |
MuleRegistry |
getRegistry()
|
SecurityManager |
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 date when the server was started. |
AllStatistics |
getStatistics()
|
SingleResourceTransactionFactoryManager |
getTransactionFactoryManager()
|
TransactionManager |
getTransactionManager()
Returns the Jta transaction manager used by this Mule server instance. |
String |
getUniqueIdString()
Generate a unique ID string; this will begin with the cluster node ID followed by a dash, e.g. |
javax.resource.spi.work.WorkListener |
getWorkListener()
|
WorkManager |
getWorkManager()
Obtains a workManager instance that can be used to schedule work in a thread pool. |
void |
handleException(Exception e)
|
void |
handleException(Exception e,
RollbackSourceCallback rollbackMethod)
|
boolean |
isDisposed()
|
boolean |
isDisposing()
|
boolean |
isInitialised()
Determines if the server has been initialised |
boolean |
isInitialising()
Determines if the server is being initialised |
boolean |
isPrimaryPollingInstance()
|
boolean |
isStarted()
Determines if the server has been started |
boolean |
isStarting()
|
boolean |
isStopped()
|
boolean |
isStopping()
|
void |
registerListener(ServerNotificationListener l)
Registers an intenal server event listener. |
void |
registerListener(ServerNotificationListener l,
String resourceIdentifier)
Registers an intenal server event listener. |
void |
removeRegistry(Registry registry)
|
void |
setExceptionListener(SystemExceptionHandler exceptionListener)
|
void |
setExecutionClassLoader(ClassLoader cl)
|
void |
setObjectStore(String name,
ListableObjectStore<Serializable> store)
|
void |
setQueueManager(QueueManager queueManager)
Sets the queue manager used by mule for queuing events. |
void |
setSecurityManager(SecurityManager 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 |
unregisterListener(ServerNotificationListener l)
Unregisters a previously registered listener. |
Methods inherited from interface org.mule.api.lifecycle.Initialisable |
---|
initialise |
Methods inherited from interface org.mule.api.lifecycle.Startable |
---|
start |
Methods inherited from interface org.mule.api.lifecycle.Stoppable |
---|
stop |
Methods inherited from interface org.mule.api.lifecycle.Disposable |
---|
dispose |
Method Detail |
---|
void setTransactionManager(TransactionManager manager) throws Exception
manager
- the manager to use
Exception
TransactionManager getTransactionManager()
ServerNotificationManager getNotificationManager()
boolean isStarted()
boolean isInitialised()
boolean isInitialising()
boolean isDisposed()
boolean isDisposing()
void registerListener(ServerNotificationListener l) throws NotificationException
l
- the listener to register
NotificationException
void registerListener(ServerNotificationListener 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 service if the listener was a ServiceNotificationListener
NotificationException
void unregisterListener(ServerNotificationListener l)
l
- the listener to unregistervoid fireNotification(ServerNotification notification)
notification
- the notification to firevoid setSecurityManager(SecurityManager securityManager) throws InitialisationException, RegistrationException
securityManager
- the security manager used by this Mule instance to
authenticate and authorise incoming and outgoing event traffic
and service invocations
RegistrationException
InitialisationException
SecurityManager getSecurityManager()
WorkManager getWorkManager()
javax.resource.spi.work.WorkListener getWorkListener()
void setQueueManager(QueueManager queueManager) throws RegistrationException
queueManager
-
RegistrationException
QueueManager getQueueManager()
AllStatistics getStatistics()
LifecycleManager getLifecycleManager()
MuleRegistry getRegistry()
MuleConfiguration getConfiguration()
ThreadingProfile getDefaultMessageDispatcherThreadingProfile()
ThreadingProfile getDefaultMessageRequesterThreadingProfile()
ThreadingProfile getDefaultMessageReceiverThreadingProfile()
ThreadingProfile getDefaultServiceThreadingProfile()
ThreadingProfile getDefaultThreadingProfile()
void addRegistry(Registry registry)
void removeRegistry(Registry registry)
long getStartDate()
ExpressionManager getExpressionManager()
ExpressionManager
EndpointFactory getEndpointFactory()
EndpointFactory
void setExecutionClassLoader(ClassLoader cl)
ClassLoader getExecutionClassLoader()
boolean isStopped()
boolean isStopping()
boolean isStarting()
LocalMuleClient getClient()
SystemExceptionHandler getExceptionListener()
void setExceptionListener(SystemExceptionHandler exceptionListener)
void setObjectStore(String name, ListableObjectStore<Serializable> store) throws RegistrationException
RegistrationException
void handleException(Exception e, RollbackSourceCallback rollbackMethod)
void handleException(Exception e)
String getClusterId()
int getClusterNodeId()
boolean isPrimaryPollingInstance()
String getUniqueIdString()
Map<QName,Set<Object>> getConfigurationAnnotations()
MessagingExceptionHandler getDefaultExceptionStrategy()
DefaultMessagingExceptionStrategy
SingleResourceTransactionFactoryManager getTransactionFactoryManager()
DataTypeConversionResolver getDataTypeConverterResolver()
DataTypeConversionResolver
instance to resolve implicit data type conversionsExpressionLanguage getExpressionLanguage()
LockFactory getLockFactory()
ProcessingTimeWatcher getProcessorTimeWatcher()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |