org.apache.servicemix.jbi.deployer
Interface ServiceAssembly

All Superinterfaces:
javax.jbi.management.LifeCycleMBean
All Known Implementing Classes:
ServiceAssemblyImpl

public interface ServiceAssembly
extends javax.jbi.management.LifeCycleMBean

This interface represents a JBI Service Assembly 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 service assembly
 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 getName()
          Retrieves the name of this service assembly
 ServiceUnit[] getServiceUnits()
          Get the list of service units included in this Service Assembly
 
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

getServiceUnits

ServiceUnit[] getServiceUnits()
Get the list of service units included in this Service Assembly

Returns:

forceShutDown

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

Throws:
javax.jbi.JBIException


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