public class WSNComponent extends DefaultComponent
| Modifier and Type | Class and Description |
|---|---|
class |
WSNComponent.WSNEndpointManager |
lifeCycle, logger, registry, serviceUnit, serviceUnitManagerchannel, component, consumerExecutor, container, context, correlationId, currentState, executorFactory, INITIALIZED, knownExchanges, mbeanName, poller, polling, providerExecutor, running, transactionManager, workManagerCreated| Constructor and Description |
|---|
WSNComponent() |
| Modifier and Type | Method and Description |
|---|---|
BaseServiceUnitManager |
createServiceUnitManager() |
protected void |
doInit() |
protected void |
doShutDown() |
java.lang.String |
getBrokerPassword() |
java.lang.String |
getBrokerUsername() |
protected java.util.List |
getConfiguredEndpoints() |
javax.jms.ConnectionFactory |
getConnectionFactory() |
JmsCreatePullPoint |
getCreatePullPoint() |
protected java.lang.Class[] |
getEndpointClasses() |
protected java.lang.Object |
getExtensionMBean() |
JbiNotificationBroker |
getNotificationBroker() |
java.lang.Object[] |
getRequests() |
org.springframework.core.io.Resource[] |
getResources() |
org.w3c.dom.Document |
getServiceDescription(javax.jbi.servicedesc.ServiceEndpoint endpoint) |
protected javax.jms.ConnectionFactory |
lookupConnectionFactory() |
void |
setBrokerPassword(java.lang.String brokerPassword) |
void |
setBrokerUsername(java.lang.String brokerUsername) |
void |
setConnectionFactory(javax.jms.ConnectionFactory connectionFactory) |
void |
setRequests(java.lang.Object[] requests) |
void |
setResources(org.springframework.core.io.Resource[] resources) |
addEndpoint, asList, createRegistry, doStart, doStop, getComponentContext, getComponentName, getEPRElementName, getEPRProtocols, getEPRServiceName, getLifeCycle, getLogger, getRegistry, getServiceUnit, getServiceUnitManager, isExchangeWithConsumerOkay, isExchangeWithProviderOkay, isKnownEndpoint, removeEndpoint, resolveEndpointReference, validateEndpointcreateExecutorFactory, createExtensionMBeanName, exceptionShouldRollbackTx, findExecutorFactory, getContainer, getContext, getCurrentState, getExecutor, getExecutorFactory, getExtensionMBeanName, getKnownExchanges, getResolvedEPR, getSmx3Container, handleExchange, init, isInitialized, isShutDown, isStarted, isStopped, isUnknown, onMessageExchange, pollDeliveryChannel, prepareExchange, prepareShutdown, prepareShutdown, processExchange, processExchangeInTx, processExchangeWithoutTx, setComponent, setCurrentState, setExecutor, setExecutorFactory, shutDown, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContainer, getExecutor, getSmx3Container, handleExchange, prepareExchange, prepareShutdownpublic JbiNotificationBroker getNotificationBroker()
public JmsCreatePullPoint getCreatePullPoint()
protected java.lang.Object getExtensionMBean()
throws java.lang.Exception
getExtensionMBean in class AsyncBaseLifeCyclejava.lang.Exceptionpublic BaseServiceUnitManager createServiceUnitManager()
createServiceUnitManager in class DefaultComponentpublic javax.jms.ConnectionFactory getConnectionFactory()
public void setConnectionFactory(javax.jms.ConnectionFactory connectionFactory)
protected java.util.List getConfiguredEndpoints()
getConfiguredEndpoints in class DefaultComponentprotected java.lang.Class[] getEndpointClasses()
getEndpointClasses in class DefaultComponentpublic org.springframework.core.io.Resource[] getResources()
public void setResources(org.springframework.core.io.Resource[] resources)
resources - The resources to set.public java.lang.Object[] getRequests()
public void setRequests(java.lang.Object[] requests)
requests - The requests to set.protected void doInit()
throws java.lang.Exception
doInit in class DefaultComponentjava.lang.Exceptionprotected void doShutDown()
throws java.lang.Exception
doShutDown in class DefaultComponentjava.lang.Exceptionpublic org.w3c.dom.Document getServiceDescription(javax.jbi.servicedesc.ServiceEndpoint endpoint)
getServiceDescription in interface javax.jbi.component.ComponentgetServiceDescription in class DefaultComponentprotected javax.jms.ConnectionFactory lookupConnectionFactory()
throws javax.naming.NamingException
javax.naming.NamingExceptionpublic java.lang.String getBrokerUsername()
public void setBrokerUsername(java.lang.String brokerUsername)
public java.lang.String getBrokerPassword()
public void setBrokerPassword(java.lang.String brokerPassword)
Copyright © 2005-2016 FuseSource. All Rights Reserved.