|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultComponent
org.apache.camel.component.event.EventComponent
public class EventComponent
An Event Component for working with Spring ApplicationEvents
Field Summary |
---|
Fields inherited from class org.apache.camel.support.ServiceSupport |
---|
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending |
Constructor Summary | |
---|---|
EventComponent()
|
|
EventComponent(ApplicationContext applicationContext)
|
Method Summary | |
---|---|
protected void |
consumerStarted(EventEndpoint endpoint)
|
protected void |
consumerStopped(EventEndpoint endpoint)
|
protected EventEndpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters)
|
protected void |
doStop()
|
ApplicationContext |
getApplicationContext()
|
ConfigurableApplicationContext |
getConfigurableApplicationContext()
|
void |
onApplicationEvent(ApplicationEvent event)
|
void |
setApplicationContext(ApplicationContext applicationContext)
|
Methods inherited from class org.apache.camel.impl.DefaultComponent |
---|
afterConfiguration, createComponentConfiguration, createConfiguration, createEndpoint, doStart, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI |
Methods inherited from class org.apache.camel.support.ServiceSupport |
---|
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventComponent()
public EventComponent(ApplicationContext applicationContext)
Method Detail |
---|
public ApplicationContext getApplicationContext()
public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext
in interface ApplicationContextAware
BeansException
public ConfigurableApplicationContext getConfigurableApplicationContext()
protected EventEndpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint
in class org.apache.camel.impl.DefaultComponent
Exception
protected void consumerStarted(EventEndpoint endpoint)
protected void consumerStopped(EventEndpoint endpoint)
public void onApplicationEvent(ApplicationEvent event)
protected void doStop() throws Exception
doStop
in class org.apache.camel.impl.DefaultComponent
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |