org.apache.servicemix.cxfbc
Class CxfBcComponent
java.lang.Object
org.apache.servicemix.common.AsyncBaseLifeCycle
org.apache.servicemix.common.DefaultComponent
org.apache.servicemix.cxfbc.CxfBcComponent
- All Implemented Interfaces:
- javax.jbi.component.Component, javax.jbi.component.ComponentLifeCycle, ServiceMixComponent
public class CxfBcComponent
- extends DefaultComponent
- Author:
- gnodet
| Fields inherited from class org.apache.servicemix.common.AsyncBaseLifeCycle |
channel, component, consumerExecutor, container, context, correlationId, currentState, executorFactory, INITIALIZED, knownExchanges, mbeanName, poller, polling, providerExecutor, 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, 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, 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 |
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 java.util.List getConfiguredEndpoints()
- Overrides:
getConfiguredEndpoints in class DefaultComponent
getEndpointClasses
protected java.lang.Class[] getEndpointClasses()
- Overrides:
getEndpointClasses in class DefaultComponent
doInit
protected void doInit()
throws java.lang.Exception
- Overrides:
doInit in class DefaultComponent
- Throws:
java.lang.Exception
doShutDown
protected void doShutDown()
throws java.lang.Exception
- Overrides:
doShutDown in class DefaultComponent
- Throws:
java.lang.Exception
getBus
public org.apache.cxf.Bus getBus()
getAllBuses
public java.util.Map<java.lang.String,org.apache.cxf.Bus> getAllBuses()
setBusConfig
public void setBusConfig(java.lang.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 java.lang.String getBusConfig()
setConfiguration
public void setConfiguration(CxfBcConfiguration configuration)
getConfiguration
public CxfBcConfiguration getConfiguration()
getAuthenticationService
public java.lang.Object getAuthenticationService()
- Returns:
- the authenticationService
setAuthenticationService
public void setAuthenticationService(java.lang.Object authenticationService)
- Parameters:
authenticationService - the authenticationService to set
Copyright © 2005-2011 FuseSource. All Rights Reserved.