public interface MuleContext extends Lifecycle
PHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAME| Modifier and Type | Method and Description |
|---|---|
void |
applyLifecycle(Object object) |
void |
fireNotification(ServerNotification notification)
Fires a server notification to all regiistered listeners
|
MuleConfiguration |
getConfiguration() |
ThreadingProfile |
getDefaultComponentThreadingProfile() |
ConnectionStrategy |
getDefaultConnectionStrategy() |
ThreadingProfile |
getDefaultMessageDispatcherThreadingProfile() |
ThreadingProfile |
getDefaultMessageReceiverThreadingProfile() |
ThreadingProfile |
getDefaultMessageRequesterThreadingProfile() |
ThreadingProfile |
getDefaultThreadingProfile() |
LifecycleManager |
getLifecycleManager() |
ServerNotificationManager |
getNotificationManager() |
QueueManager |
getQueueManager()
Gets the queue manager used by mule for queuing events.
|
Registry |
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() |
TransactionManager |
getTransactionManager()
Returns the Jta transaction manager used by this Mule server instance.
|
javax.resource.spi.work.WorkListener |
getWorkListener() |
WorkManager |
getWorkManager()
Obtains a workManager instance that can be used to schedule work in a
thread pool.
|
boolean |
isDisposed() |
boolean |
isDisposing() |
boolean |
isInitialised()
Determines if the server has been initialised
|
boolean |
isInitialising()
Determines if the server is being initialised
|
boolean |
isStarted()
Determines if the server has been started
|
void |
registerListener(ServerNotificationListener l)
Registers an intenal server event listener.
|
void |
registerListener(ServerNotificationListener l,
String resourceIdentifier)
Registers an intenal server event listener.
|
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.
|
initialisedisposevoid setTransactionManager(TransactionManager manager) throws Exception
manager - the manager to useExceptionTransactionManager getTransactionManager()
ServerNotificationManager getNotificationManager()
boolean isStarted()
boolean isInitialised()
boolean isInitialising()
boolean isDisposed()
boolean isDisposing()
void registerListener(ServerNotificationListener l) throws NotificationException
l - the listener to registerNotificationExceptionvoid 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 ServiceNotificationListenerNotificationExceptionvoid 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 invocationsRegistrationExceptionInitialisationExceptionSecurityManager getSecurityManager()
WorkManager getWorkManager()
javax.resource.spi.work.WorkListener getWorkListener()
void setQueueManager(QueueManager queueManager) throws RegistrationException
queueManager - RegistrationExceptionQueueManager getQueueManager()
AllStatistics getStatistics()
LifecycleManager getLifecycleManager()
Registry getRegistry()
void applyLifecycle(Object object) throws MuleException
MuleExceptionMuleConfiguration getConfiguration()
ThreadingProfile getDefaultMessageDispatcherThreadingProfile()
ThreadingProfile getDefaultMessageRequesterThreadingProfile()
ThreadingProfile getDefaultMessageReceiverThreadingProfile()
ThreadingProfile getDefaultComponentThreadingProfile()
ThreadingProfile getDefaultThreadingProfile()
ConnectionStrategy getDefaultConnectionStrategy()
long getStartDate()
Copyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.