org.ow2.petals.microkernel.api.jbi.management
Interface AdminService

All Superinterfaces:
javax.jbi.management.AdminServiceMBean

public interface AdminService
extends javax.jbi.management.AdminServiceMBean

Internal admin methods.

Author:
Roland Naudin - EBM WebSourcing

Field Summary
static String COMPONENT_LOGGER_NAME
           
 
Method Summary
 javax.jbi.management.ComponentLifeCycleMBean getBindingComponentLifeCycleByName(String name)
          Find the ComponentLifeCycleMBean of a JBI Component by its unique name.
 Map<String,javax.jbi.management.ComponentLifeCycleMBean> getBindingComponentsLifeCycles()
           
 javax.jbi.management.ComponentLifeCycleMBean getEngineComponentLifeCycleByName(String name)
          Find the ComponentLifeCycleMBean of a JBI Component by its unique name.
 Installer getInstallerByName(String name)
          Get the Installer by its component name.
 Installer[] getInstallers()
          Get the list of Installers
 javax.jbi.management.MBeanNames getMBeanNames()
          Get the PEtALS MbeanNames instance.
 MBeanServer getMBeanServer()
          Get the MBeanServer.
 Map<String,ServiceAssemblyLifeCycle> getServiceAssemblies()
          Get the map of ServiceAssemblyLifeCycle by names.
 ServiceAssemblyLifeCycle getServiceAssemblyByName(String saName)
          Get the ServiceAssemblyLifeCycle by its unique name.
 Map<String,javax.jbi.management.ComponentLifeCycleMBean> getServiceEnginesLifeCycles()
           
 List<ServiceUnitLifeCycle> getServiceUnitsLifeCyclesForComponent(String component)
           
 Map<String,SharedLibraryLifeCycle> getSharedLibraries()
          Get the map of SharedLibraryLifeCycle by names.
 SharedLibraryLifeCycle getSharedLibraryByName(String slName)
          Get the SharedLibraryLifeCycle by its unique name.
 ObjectName registerBindingComponent(javax.jbi.management.ComponentLifeCycleMBean lifeCycle, String name)
           
 ObjectName registerEngineComponent(javax.jbi.management.ComponentLifeCycleMBean lifeCycle, String name)
           
 ObjectName registerInstaller(Installer installerMBean, String name)
           
 void registerServiceAssembly(ServiceAssemblyLifeCycle serviceAssemblyLifeCycle, String name)
           
 void registerSharedLibrary(SharedLibraryLifeCycle sharedLibraryLifeCycle, String name)
           
 void unregisterBindingComponent(String name)
           
 void unregisterEngineComponent(String name)
           
 void unregisterInstaller(String name)
           
 void unregisterServiceAssembly(String saName)
           
 void unregisterSharedLibrary(String slName)
           
 
Methods inherited from interface javax.jbi.management.AdminServiceMBean
getBindingComponents, getComponentByName, getEngineComponents, getSystemInfo, getSystemService, getSystemServices, isBinding, isEngine
 

Field Detail

COMPONENT_LOGGER_NAME

static final String COMPONENT_LOGGER_NAME
See Also:
Constant Field Values
Method Detail

getMBeanNames

javax.jbi.management.MBeanNames getMBeanNames()
Get the PEtALS MbeanNames instance.

Returns:
the instance

getMBeanServer

MBeanServer getMBeanServer()
Get the MBeanServer.

Returns:
the instance

getInstallerByName

Installer getInstallerByName(String name)
Get the Installer by its component name.

Parameters:
name -
Returns:
the Installer

getInstallers

Installer[] getInstallers()
Get the list of Installers

Returns:

getBindingComponentLifeCycleByName

javax.jbi.management.ComponentLifeCycleMBean getBindingComponentLifeCycleByName(String name)
Find the ComponentLifeCycleMBean of a JBI Component by its unique name.

Parameters:
name - the name of the binding component; must be non-null and non-empty
Returns:
the ComponentLifeCycleMBean of the component, or null if there is no such component with the given name

getBindingComponentsLifeCycles

Map<String,javax.jbi.management.ComponentLifeCycleMBean> getBindingComponentsLifeCycles()

getServiceEnginesLifeCycles

Map<String,javax.jbi.management.ComponentLifeCycleMBean> getServiceEnginesLifeCycles()

getEngineComponentLifeCycleByName

javax.jbi.management.ComponentLifeCycleMBean getEngineComponentLifeCycleByName(String name)
Find the ComponentLifeCycleMBean of a JBI Component by its unique name.

Parameters:
name - the name of the engine component; must be non-null and non-empty
Returns:
the ComponentLifeCycleMBean of the component, or null if there is no such component with the given name

getServiceAssemblyByName

ServiceAssemblyLifeCycle getServiceAssemblyByName(String saName)
Get the ServiceAssemblyLifeCycle by its unique name.

Parameters:
name -
Returns:
the ServiceAssemblyLifeCycle

getServiceAssemblies

Map<String,ServiceAssemblyLifeCycle> getServiceAssemblies()
Get the map of ServiceAssemblyLifeCycle by names.

Returns:
the map

getSharedLibraryByName

SharedLibraryLifeCycle getSharedLibraryByName(String slName)
Get the SharedLibraryLifeCycle by its unique name.

Parameters:
name -
Returns:
the SharedLibraryLifeCycle

getSharedLibraries

Map<String,SharedLibraryLifeCycle> getSharedLibraries()
Get the map of SharedLibraryLifeCycle by names.

Returns:
the map, not null

getServiceUnitsLifeCyclesForComponent

List<ServiceUnitLifeCycle> getServiceUnitsLifeCyclesForComponent(String component)

registerBindingComponent

ObjectName registerBindingComponent(javax.jbi.management.ComponentLifeCycleMBean lifeCycle,
                                    String name)
                                    throws ManagementException
Throws:
ManagementException

registerEngineComponent

ObjectName registerEngineComponent(javax.jbi.management.ComponentLifeCycleMBean lifeCycle,
                                   String name)
                                   throws ManagementException
Throws:
ManagementException

registerInstaller

ObjectName registerInstaller(Installer installerMBean,
                             String name)
                             throws ManagementException
Throws:
ManagementException

registerServiceAssembly

void registerServiceAssembly(ServiceAssemblyLifeCycle serviceAssemblyLifeCycle,
                             String name)

registerSharedLibrary

void registerSharedLibrary(SharedLibraryLifeCycle sharedLibraryLifeCycle,
                           String name)

unregisterBindingComponent

void unregisterBindingComponent(String name)
                                throws ManagementException
Throws:
ManagementException

unregisterEngineComponent

void unregisterEngineComponent(String name)
                               throws ManagementException
Throws:
ManagementException

unregisterInstaller

void unregisterInstaller(String name)
                         throws ManagementException
Throws:
ManagementException

unregisterServiceAssembly

void unregisterServiceAssembly(String saName)
                               throws ManagementException
Throws:
ManagementException

unregisterSharedLibrary

void unregisterSharedLibrary(String slName)
                             throws ManagementException
Throws:
ManagementException


Copyright © 2005-2015 Linagora. All Rights Reserved.