|
||||||||||
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(long id,
Registry registry)
|
void |
fireNotification(ServerNotification notification)
Fires a server notification to all regiistered listeners |
MuleConfiguration |
getConfiguration()
|
ThreadingProfile |
getDefaultMessageDispatcherThreadingProfile()
|
ThreadingProfile |
getDefaultMessageReceiverThreadingProfile()
|
ThreadingProfile |
getDefaultMessageRequesterThreadingProfile()
|
ThreadingProfile |
getDefaultServiceThreadingProfile()
|
ThreadingProfile |
getDefaultThreadingProfile()
|
ExpressionManager |
getExpressionManager()
Returns the Expression Manager configured for this instance of Mule |
LifecycleManager |
getLifecycleManager()
|
ServerNotificationManager |
getNotificationManager()
|
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()
|
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 |
removeRegistry(long id)
|
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(long id, Registry registry)
void removeRegistry(long id)
long getStartDate()
ExpressionManager getExpressionManager()
ExpressionManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |