org.apache.camel.component.event
Class EventComponent
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultComponent
org.apache.camel.component.event.EventComponent
- All Implemented Interfaces:
- Component, Service, org.springframework.context.ApplicationContextAware
public class EventComponent
- extends DefaultComponent
- implements org.springframework.context.ApplicationContextAware
An Event Component
for working with Spring ApplicationEvents
- Version:
- $Revision: 747759 $
Methods inherited from class org.apache.camel.impl.DefaultComponent |
convertTo, createEndpoint, createScheduledExecutorService, doStart, doStop, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExecutorService, getScheduledExecutorService, ifStartsWithReturnRemainder, isReferenceParameter, lookup, lookup, mandatoryConvertTo, mandatoryLookup, mandatoryLookup, newInstance, setCamelContext, setExecutorService, setProperties, setReferenceProperties, useIntrospectionOnEndpoint, validateParameters, validateURI |
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventComponent
public EventComponent()
EventComponent
public EventComponent(org.springframework.context.ApplicationContext applicationContext)
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
getConfigurableApplicationContext
public org.springframework.context.ConfigurableApplicationContext getConfigurableApplicationContext()
createEndpoint
protected EventEndpoint createEndpoint(String uri,
String remaining,
Map parameters)
throws Exception
- Specified by:
createEndpoint
in class DefaultComponent
- Throws:
Exception
Copyright © 2009 Apache Software Foundation. All Rights Reserved.