|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.ra.JcaComponent
JcaComponent
TODO
Field Summary | |
protected static Log |
logger
logger used by this class |
Constructor Summary | |
JcaComponent(MuleDescriptor descriptor)
|
Method Summary | |
void |
dispatchEvent(UMOEvent event)
Makes an asynhronous event call to the component. |
void |
dispose()
A lifecycle method where implementor should fee up any resources If an exception is thrown it should just be logged and processing should continue. |
protected java.lang.Object |
getDelegateComponent()
|
UMODescriptor |
getDescriptor()
|
void |
initialise()
Method used to perform any initialisation work. |
void |
pause()
Pauses event processing for theComponent. |
void |
resume()
Resumes the Component that has been paused. |
UMOMessage |
sendEvent(UMOEvent event)
This is the synchronous call method and not supported by components managed in a JCA container |
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static transient Log logger
Constructor Detail |
public JcaComponent(MuleDescriptor descriptor)
Method Detail |
public UMODescriptor getDescriptor()
getDescriptor
in interface UMOComponent
UMODescriptor
public void dispatchEvent(UMOEvent event) throws UMOException
UMOComponent
dispatchEvent
in interface UMOComponent
event
- the event to consume
UMOException
- if the event fails to be processedpublic UMOMessage sendEvent(UMOEvent event) throws UMOException
sendEvent
in interface UMOComponent
event
-
UMOException
public void pause() throws UMOException
UMOComponent
pause
in interface UMOComponent
UMOException
- if the component failed to pause.MuleConfiguration
public void resume() throws UMOException
UMOComponent
resume
in interface UMOComponent
UMOException
- if the component failed to resumepublic void start() throws UMOException
start
in interface Startable
UMOException
public void stop() throws UMOException
stop
in interface Stoppable
UMOException
public void dispose()
Disposable
dispose
in interface Disposable
public void initialise() throws InitialisationException, RecoverableException
Initialisable
InitialisationException
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 Initialisable
InitialisationException
- if a fatal error occurs causing the Mule instance to
shutdown
RecoverableException
- if an error occurs that can be recovered fromprotected java.lang.Object getDelegateComponent() throws InitialisationException
InitialisationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |