org.apache.servicemix.cxfbc
Class CxfBcComponent
java.lang.Object
org.apache.servicemix.common.AsyncBaseLifeCycle
org.apache.servicemix.common.BaseLifeCycle
org.apache.servicemix.common.DefaultComponent
org.apache.servicemix.cxfbc.CxfBcComponent
- All Implemented Interfaces:
- Component, ComponentLifeCycle, ServiceMixComponent, MessageExchangeListener
public class CxfBcComponent
- extends DefaultComponent
- Author:
- gnodet
| Fields inherited from class org.apache.servicemix.common.AsyncBaseLifeCycle |
channel, component, context, correlationId, currentState, executor, executorFactory, INITIALIZED, mbeanName, poller, polling, processors, running, transactionManager, workManagerCreated |
| Methods inherited from class org.apache.servicemix.common.DefaultComponent |
addEndpoint, asList, createRegistry, createServiceUnitManager, 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.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 |
CxfBcComponent
public CxfBcComponent()
getEndpoints
public CxfBcEndpointType[] getEndpoints()
- Returns:
- the endpoints
setEndpoints
public void setEndpoints(CxfBcEndpointType[] endpoints)
- Specifies the list of endpoints hosted by the component.
- Parameters:
endpoints - the endpoints to set
getConfiguredEndpoints
protected List getConfiguredEndpoints()
- Specified by:
getConfiguredEndpoints in class DefaultComponent
getEndpointClasses
protected Class[] getEndpointClasses()
- Specified by:
getEndpointClasses in class DefaultComponent
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
getBus
public org.apache.cxf.Bus getBus()
setBusConfig
public void setBusConfig(String busConfig)
- Specifies the location of the CXF configuraiton file used to configure
the CXF bus. This allows you to access features like JMS runtime
behavior and WS-RM. The configuration set at the component level is
superceeded by any configuration specified by an endpoint.
- Parameters:
busCfg - a string containing the relative path to the configuration file
getBusConfig
public String getBusConfig()
setConfiguration
public void setConfiguration(CxfBcConfiguration configuration)
getConfiguration
public CxfBcConfiguration getConfiguration()
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.