|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.jbi.framework.ServiceAssemblyRegistry
public class ServiceAssemblyRegistry
Registry for Components
| Constructor Summary | |
|---|---|
ServiceAssemblyRegistry(Registry registry)
Constructor |
|
| Method Summary | |
|---|---|
String[] |
getComponentsForDeployedServiceAssembly(String saName)
Returns a list of components(to which SUs are targeted for) in a Service Assembly. |
String[] |
getDeployedServiceAssemblies()
Returns a list of Service Assemblies deployed to the JBI enviroment. |
String[] |
getDeployedServiceAssembliesForComponent(String componentName)
Returns a list of Service Assemblies that contain SUs for the given component. |
Collection<ServiceAssemblyLifeCycle> |
getServiceAssemblies()
Returns a list of service assemblies. |
ServiceAssemblyLifeCycle |
getServiceAssembly(String saName)
Get a named ServiceAssembly |
boolean |
isDeployedServiceUnit(String componentName,
String suName)
Returns a boolean value indicating whether the SU is currently deployed. |
ServiceAssemblyLifeCycle |
register(ServiceAssembly sa,
ServiceAssemblyEnvironment env)
|
ServiceAssemblyLifeCycle |
register(ServiceAssembly sa,
String[] suKeys,
ServiceAssemblyEnvironment env)
|
void |
shutDown()
shutDown the service |
void |
start()
Start all registered service assemblies |
void |
stop()
Stop service assembilies |
boolean |
unregister(String name)
unregister a service assembly |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceAssemblyRegistry(Registry registry)
registry - | Method Detail |
|---|
public void start()
public void stop()
public void shutDown()
public ServiceAssemblyLifeCycle register(ServiceAssembly sa,
String[] suKeys,
ServiceAssemblyEnvironment env)
throws javax.jbi.management.DeploymentException
javax.jbi.management.DeploymentException
public ServiceAssemblyLifeCycle register(ServiceAssembly sa,
ServiceAssemblyEnvironment env)
throws javax.jbi.management.DeploymentException
javax.jbi.management.DeploymentExceptionpublic boolean unregister(String name)
name -
public ServiceAssemblyLifeCycle getServiceAssembly(String saName)
name -
public String[] getDeployedServiceAssemblies()
public String[] getDeployedServiceAssembliesForComponent(String componentName)
componentName - name of the component.
public String[] getComponentsForDeployedServiceAssembly(String saName)
saName - name of the service assembly.
public boolean isDeployedServiceUnit(String componentName,
String suName)
componentName - - name of component.suName - - name of the Service Unit.
public Collection<ServiceAssemblyLifeCycle> getServiceAssemblies()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||