org.apache.servicemix.wsn.component
Class WSNComponent
java.lang.Object
org.apache.servicemix.common.AsyncBaseLifeCycle
org.apache.servicemix.common.DefaultComponent
org.apache.servicemix.wsn.component.WSNComponent
- All Implemented Interfaces:
- javax.jbi.component.Component, javax.jbi.component.ComponentLifeCycle, ServiceMixComponent
- Direct Known Subclasses:
- WSNSpringComponent
public class WSNComponent
- extends DefaultComponent
| 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 |
| Methods inherited from class org.apache.servicemix.common.DefaultComponent |
addEndpoint, asList, createRegistry, doStart, doStop, getComponentContext, getComponentName, getEPRElementName, getEPRProtocols, getEPRServiceName, getLifeCycle, getLogger, getRegistry, 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, 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 |
WSNComponent
public WSNComponent()
getNotificationBroker
public JbiNotificationBroker getNotificationBroker()
getCreatePullPoint
public JmsCreatePullPoint getCreatePullPoint()
getExtensionMBean
protected Object getExtensionMBean()
throws Exception
- Overrides:
getExtensionMBean in class AsyncBaseLifeCycle
- Throws:
Exception
createServiceUnitManager
public BaseServiceUnitManager createServiceUnitManager()
- Overrides:
createServiceUnitManager in class DefaultComponent
getConnectionFactory
public ConnectionFactory getConnectionFactory()
setConnectionFactory
public void setConnectionFactory(ConnectionFactory connectionFactory)
getConfiguredEndpoints
protected List getConfiguredEndpoints()
- Overrides:
getConfiguredEndpoints in class DefaultComponent
getEndpointClasses
protected Class[] getEndpointClasses()
- Overrides:
getEndpointClasses in class DefaultComponent
getResources
public org.springframework.core.io.Resource[] getResources()
- Returns:
- Returns the endpoints.
setResources
public void setResources(org.springframework.core.io.Resource[] resources)
- Parameters:
resources - The resources to set.
getRequests
public Object[] getRequests()
- Returns:
- Returns the requests.
setRequests
public void setRequests(Object[] requests)
- Parameters:
requests - The requests to set.
doInit
protected void doInit()
throws Exception
- Overrides:
doInit in class DefaultComponent
- Throws:
Exception
doShutDown
protected void doShutDown()
throws Exception
- Overrides:
doShutDown in class DefaultComponent
- Throws:
Exception
getServiceDescription
public Document getServiceDescription(javax.jbi.servicedesc.ServiceEndpoint endpoint)
- Specified by:
getServiceDescription in interface javax.jbi.component.Component- Overrides:
getServiceDescription in class DefaultComponent
lookupConnectionFactory
protected ConnectionFactory lookupConnectionFactory()
throws NamingException
- Throws:
NamingException
Copyright © 2005-2008 The Apache Software Foundation. All Rights Reserved.