org.apache.servicemix.drools
Class DroolsComponent

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

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
lifeCycle, logger, registry, serviceUnit, serviceUnitManager
 
Fields inherited from class org.apache.servicemix.common.AsyncBaseLifeCycle
channel, component, container, context, correlationId, currentState, executor, executorFactory, INITIALIZED, knownExchanges, mbeanName, poller, polling, 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, isKnownEndpoint, removeEndpoint, resolveEndpointReference, validateEndpoint
 
Methods inherited from class org.apache.servicemix.common.AsyncBaseLifeCycle
createExecutorFactory, createExtensionMBeanName, exceptionShouldRollbackTx, findExecutorFactory, getContainer, getContext, getCurrentState, getExecutor, getExecutorFactory, getExtensionMBean, getExtensionMBeanName, getKnownExchanges, getResolvedEPR, getSmx3Container, handleExchange, init, isInitialized, isShutDown, isStarted, isStopped, isUnknown, onMessageExchange, pollDeliveryChannel, prepareExchange, prepareShutdown, processExchange, processExchangeInTx, setComponent, setCurrentState, setExecutor, setExecutorFactory, 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
getContainer, getExecutor, getSmx3Container, handleExchange, prepareExchange, prepareShutdown
 

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()
Overrides:
getConfiguredEndpoints in class DefaultComponent

getEndpointClasses

protected Class[] getEndpointClasses()
Overrides:
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 The Apache Software Foundation. All Rights Reserved.