org.apache.servicemix.jbi.deployer
Interface Component

All Superinterfaces:
javax.jbi.management.ComponentLifeCycleMBean, javax.jbi.management.LifeCycleMBean
All Known Implementing Classes:
ComponentImpl

public interface Component
extends javax.jbi.management.ComponentLifeCycleMBean

This interface represents a JBI Component and will be registered in the OSGi registry


Field Summary
 
Fields inherited from interface javax.jbi.management.LifeCycleMBean
SHUTDOWN, STARTED, STOPPED, UNKNOWN
 
Method Summary
 void forceShutDown()
          Force a shutdown of this component
 javax.jbi.component.Component getComponent()
          Access to the JBI component
 java.lang.String getDescription()
          Retrieves the description of this service assembly
 java.lang.String getDescriptor()
          Retrieve the JBI descriptor for this service assembly
 java.lang.String getMainType()
          Return the type of this component (service-engine or binding-component)
 java.lang.String getName()
          Retrieves the name of this service assembly
 ServiceUnit[] getServiceUnits()
          Retrieve the ServiceUnits deployed on this component
 SharedLibrary[] getSharedLibraries()
          Retrieve the Shared Libraries used by this component
 
Methods inherited from interface javax.jbi.management.ComponentLifeCycleMBean
getExtensionMBeanName
 
Methods inherited from interface javax.jbi.management.LifeCycleMBean
getCurrentState, shutDown, start, stop
 

Method Detail

getName

java.lang.String getName()
Retrieves the name of this service assembly

Returns:
the name

getDescription

java.lang.String getDescription()
Retrieves the description of this service assembly

Returns:
the description

getDescriptor

java.lang.String getDescriptor()
Retrieve the JBI descriptor for this service assembly

Returns:
the JBI descriptor

getMainType

java.lang.String getMainType()
Return the type of this component (service-engine or binding-component)

Returns:
the type

getComponent

javax.jbi.component.Component getComponent()
Access to the JBI component

Returns:

getServiceUnits

ServiceUnit[] getServiceUnits()
Retrieve the ServiceUnits deployed on this component


getSharedLibraries

SharedLibrary[] getSharedLibraries()
Retrieve the Shared Libraries used by this component


forceShutDown

void forceShutDown()
                   throws javax.jbi.JBIException
Force a shutdown of this component

Throws:
javax.jbi.JBIException


Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.