| |
|
| java.lang.Object org.apache.servicemix.common.AsyncBaseLifeCycle org.apache.servicemix.common.BaseLifeCycle org.apache.servicemix.common.DefaultComponent
All known Subclasses: org.apache.servicemix.bean.BeanComponent, org.apache.servicemix.cxfbc.CxfBcComponent, org.apache.servicemix.cxfse.CxfSeComponent, org.apache.servicemix.jsr181.Jsr181Component, org.apache.servicemix.saxon.SaxonComponent, org.apache.servicemix.ftp.FtpComponent, org.apache.servicemix.mail.MailComponent, org.apache.servicemix.quartz.QuartzComponent, org.apache.servicemix.eip.EIPComponent, org.apache.servicemix.truezip.TrueZipComponent, org.apache.servicemix.http.HttpComponent, org.apache.servicemix.file.FileComponent, org.apache.servicemix.jms.JmsComponent, org.apache.servicemix.xmpp.XMPPComponent, org.apache.servicemix.script.ScriptComponent, org.apache.servicemix.drools.DroolsComponent, org.apache.servicemix.camel.CamelJbiComponent, org.apache.servicemix.osworkflow.OSWorkflowComponent,
DefaultComponent | abstract public class DefaultComponent extends BaseLifeCycle implements ServiceMixComponent(Code) | | A useful base class for writing new JBI components which includes the
ComponentLifeCycle interface methods so that
you can write a new component in a single class with minimal overloading.
version: $Revision: 584990 $ |
logger | final protected transient Log logger(Code) | | |
DefaultComponent | public DefaultComponent()(Code) | | |
asList | protected static List asList(Object[] endpoints)(Code) | | A little helper method to turn a possibly null list of endpoints into a list of endpoints
|
createServiceUnitManager | protected BaseServiceUnitManager createServiceUnitManager()(Code) | | Create the service unit manager.
Derived classes should override this method and return a
BaseServiceUnitManager so that the component is able to
handle service unit deployment.
The default implementation will create a @{link BaseXBeanDeployer} instance
using the value of @{link #getEndpointClasses()} if that method returns a non-null value
otherwise it returns null.
a newly created service unit manager |
getConfiguredEndpoints | abstract protected List getConfiguredEndpoints()(Code) | | Returns an array of configured endpoints for the component or null if there are no configured endpoints
|
getEPRElementName | public QName getEPRElementName()(Code) | | |
getEPRServiceName | public QName getEPRServiceName()(Code) | | |
getEndpointClasses | abstract protected Class[] getEndpointClasses()(Code) | | Returns a list of valid endpoint classes or null if the component does not wish to programmatically
restrict the list of possible endpoint classes
the endpoint classes used to validate configuration or null to disable the validation |
getLogger | public Log getLogger()(Code) | | Returns the logger. |
getServiceUnit | public ServiceUnit getServiceUnit()(Code) | | Returns the service unit, lazily creating one on demand
the service unit if one is being used. |
|
|
|