org.apache.servicemix.drools
Class DroolsComponent

java.lang.Object
  extended by org.apache.servicemix.common.AsyncBaseLifeCycle
      extended by org.apache.servicemix.common.BaseLifeCycle
          extended by org.apache.servicemix.common.DefaultComponent
              extended by org.apache.servicemix.drools.DroolsComponent
All Implemented Interfaces:
Component, ComponentLifeCycle, ServiceMixComponent, MessageExchangeListener

public class DroolsComponent
extends DefaultComponent

Author:
gnodet

Field Summary
static String DROOLS_CORRELATION_ID
          Property to correlate servicemix-drools exchanges
 
Fields inherited from class org.apache.servicemix.common.DefaultComponent
logger, registry, serviceUnit, serviceUnitManager
 
Fields inherited from class org.apache.servicemix.common.AsyncBaseLifeCycle
channel, component, context, correlationId, currentState, executor, executorFactory, INITIALIZED, mbeanName, poller, polling, processors, running, transactionManager, workManagerCreated
 
Constructor Summary
DroolsComponent()
           
 
Method Summary
protected  List getConfiguredEndpoints()
           
protected  Class[] getEndpointClasses()
           
 DroolsEndpoint[] getEndpoints()
           
 void setEndpoints(DroolsEndpoint[] endpoints)
           
 
Methods inherited from class org.apache.servicemix.common.DefaultComponent
addEndpoint, asList, createRegistry, createServiceUnitManager, doInit, doShutDown, doStart, doStop, getComponentContext, getComponentName, getEPRElementName, getEPRProtocols, getEPRServiceName, getLifeCycle, getLogger, getRegistry, getServiceDescription, getServiceUnit, getServiceUnitManager, isExchangeWithConsumerOkay, isExchangeWithProviderOkay, removeEndpoint, resolveEndpointReference, validateEndpoint
 
Methods inherited from class org.apache.servicemix.common.BaseLifeCycle
onMessageExchange
 
Methods inherited from class org.apache.servicemix.common.AsyncBaseLifeCycle
createExecutorFactory, createExtensionMBeanName, exceptionShouldRollbackTx, findExecutorFactory, getContext, getCurrentState, getExecutor, getExtensionMBean, getExtensionMBeanName, getResolvedEPR, init, isInitialized, isShutDown, isStarted, isStopped, isUnknown, pollDeliveryChannel, prepareConsumerExchange, processExchange, processExchangeInTx, sendConsumerExchange, sendConsumerExchange, setComponent, setCurrentState, shutDown, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.servicemix.common.ServiceMixComponent
getExecutor, prepareConsumerExchange, sendConsumerExchange
 

Field Detail

DROOLS_CORRELATION_ID

public static final String DROOLS_CORRELATION_ID
Property to correlate servicemix-drools exchanges

See Also:
Constant Field Values
Constructor Detail

DroolsComponent

public DroolsComponent()
Method Detail

getConfiguredEndpoints

protected List getConfiguredEndpoints()
Specified by:
getConfiguredEndpoints in class DefaultComponent

getEndpointClasses

protected Class[] getEndpointClasses()
Specified by:
getEndpointClasses in class DefaultComponent

getEndpoints

public DroolsEndpoint[] getEndpoints()
Returns:
the endpoints

setEndpoints

public void setEndpoints(DroolsEndpoint[] endpoints)
Parameters:
endpoints - the endpoints to set


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.