|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mule.impl.internal.admin.MuleManagerComponent
MuleManagerComponent is a MuleManager interal server component
responsible for receiving remote requests and dispatching them locally. This
allows developer to tunnel requests through http ssl to a Mule instance behind a
firewall
| Field Summary | |
protected static Log |
logger
logger used by this class |
static String |
MANAGER_COMPONENT_NAME
|
static String |
MANAGER_ENDPOINT_NAME
|
protected WireFormat |
wireFormat
Use Serialization by default |
| Constructor Summary | |
MuleManagerComponent()
|
|
| Method Summary | |
static UMODescriptor |
getDescriptor(UMOConnector connector,
UMOEndpointURI endpointUri,
WireFormat wireFormat)
|
WireFormat |
getWireFormat()
|
protected String |
handleException(UMOMessage result,
Throwable e)
Wraps an execption into a MuleMessage with an Exception payload and returns the Xml representation of it |
void |
initialise()
Method used to perform any initialisation work. |
protected Object |
invokeAction(AdminNotification action,
UMOEventContext context)
|
Object |
onCall(UMOEventContext context)
Passes the event to the listener |
protected Object |
receiveAction(AdminNotification action,
UMOEventContext context)
|
protected Object |
sendAction(AdminNotification action,
UMOEventContext context)
|
void |
setWireFormat(WireFormat wireFormat)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final Log logger
public static final String MANAGER_COMPONENT_NAME
public static final String MANAGER_ENDPOINT_NAME
protected WireFormat wireFormat
| Constructor Detail |
public MuleManagerComponent()
| Method Detail |
public void initialise()
throws InitialisationException
InitialisableInitialisationException should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.
initialise in interface InitialisableInitialisationException - if a fatal error occurs causing the Mule
instance to shutdown
public Object onCall(UMOEventContext context)
throws Exception
Callable
onCall in interface Callablecontext - the context of the current event being process
UMOLifecycleAdapter for the component receives this
object it will first see if the Object is an UMOMessage
if not and the Object is not null a new message will be created using
the returned object as the payload. This new event will then get
published via the configured outbound router if-
setStopFurtherProcessing(true) wasn't called
on the event context event.Exception - if the event fails to process properly. If exceptions aren't
handled by the implementation they will be handled by the
exceptionListener associated with the component
protected Object invokeAction(AdminNotification action,
UMOEventContext context)
throws UMOException
UMOException
protected Object sendAction(AdminNotification action,
UMOEventContext context)
throws UMOException
UMOException
protected Object receiveAction(AdminNotification action,
UMOEventContext context)
throws UMOException
UMOException
public static final UMODescriptor getDescriptor(UMOConnector connector,
UMOEndpointURI endpointUri,
WireFormat wireFormat)
throws UMOException
UMOException
protected String handleException(UMOMessage result,
Throwable e)
result - the result of the invocation or null if the exception occurred
before or during the invocatione - the Exception thrown
public WireFormat getWireFormat()
public void setWireFormat(WireFormat wireFormat)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||