org.apache.servicemix.wsn.spring
Class WSNSpringComponent

java.lang.Object
  extended by org.apache.servicemix.common.BaseComponent
      extended by org.apache.servicemix.wsn.spring.WSNSpringComponent
All Implemented Interfaces:
Component, ServiceMixComponent

public class WSNSpringComponent
extends BaseComponent

Version:
$Revision: 376451 $
Author:
gnodet

Nested Class Summary
 class WSNSpringComponent.LifeCycle
           
 
Field Summary
 
Fields inherited from class org.apache.servicemix.common.BaseComponent
lifeCycle, logger, registry, serviceUnitManager
 
Constructor Summary
WSNSpringComponent()
           
 
Method Summary
protected  BaseLifeCycle createLifeCycle()
           
 ConnectionFactory getConnectionFactory()
           
 Object[] getRequests()
           
 org.springframework.core.io.Resource[] getResources()
           
 void setConnectionFactory(ConnectionFactory connectionFactory)
           
 void setRequests(Object[] requests)
           
 void setResources(org.springframework.core.io.Resource[] endpoints)
           
 
Methods inherited from class org.apache.servicemix.common.BaseComponent
createRegistry, createServiceUnitManager, getComponentContext, getComponentName, getEPRElementName, getExecutor, getLifeCycle, getLogger, getRegistry, getServiceDescription, getServiceUnitManager, isExchangeWithConsumerOkay, isExchangeWithProviderOkay, prepareConsumerExchange, resolveEndpointReference, sendConsumerExchange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSNSpringComponent

public WSNSpringComponent()
Method Detail

getResources

public org.springframework.core.io.Resource[] getResources()
Returns:
Returns the endpoints.

setResources

public void setResources(org.springframework.core.io.Resource[] endpoints)
Parameters:
endpoints - The endpoints to set.

getRequests

public Object[] getRequests()
Returns:
Returns the requests.

setRequests

public void setRequests(Object[] requests)
Parameters:
requests - The requests to set.

getConnectionFactory

public ConnectionFactory getConnectionFactory()
Returns:
Returns the connectionFactory.

setConnectionFactory

public void setConnectionFactory(ConnectionFactory connectionFactory)
Parameters:
connectionFactory - The connectionFactory to set.

createLifeCycle

protected BaseLifeCycle createLifeCycle()
Overrides:
createLifeCycle in class BaseComponent


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