org.ow2.petals.jbi.management.admin
Interface AdminService

All Superinterfaces:
javax.jbi.management.AdminServiceMBean
All Known Implementing Classes:
AdminServiceImpl

public interface AdminService
extends javax.jbi.management.AdminServiceMBean

Internal admin methods.

Author:
rnaudin

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

Method Detail

getMBeanNames

MBeanNamesImpl getMBeanNames()
Get the PEtALS MbeanNames instance.

Returns:
the instance

getMBeanServer

javax.management.MBeanServer getMBeanServer()
Get the MBeanServer.

Returns:
the instance

getInstallerByName

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

Parameters:
name -
Returns:
the Installer

getInstallerMBeanNameByName

javax.management.ObjectName getInstallerMBeanNameByName(java.lang.String name)
Get the ObjectName by its installer name.

Parameters:
name -
Returns:
the ObjectName

getInstallers

Installer[] getInstallers()
Get the list of Installers

Returns:

getBindingComponentLifeCycleByName

javax.jbi.management.ComponentLifeCycleMBean getBindingComponentLifeCycleByName(java.lang.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

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

getServiceEnginesLifeCycles

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

getEngineComponentLifeCycleByName

javax.jbi.management.ComponentLifeCycleMBean getEngineComponentLifeCycleByName(java.lang.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(java.lang.String saName)
Get the ServiceAssemblyLifeCycle by its unique name.

Parameters:
name -
Returns:
the ServiceAssemblyLifeCycle

getServiceAssemblies

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

Returns:
the map

getSharedLibraryByName

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

Parameters:
name -
Returns:
the SharedLibraryLifeCycle

getSharedLibraries

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

Returns:
the map

getServiceUnitsLifeCyclesForComponent

java.util.List<ServiceUnitLifeCycle> getServiceUnitsLifeCyclesForComponent(java.lang.String component)

registerBindingComponent

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

registerEngineComponent

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

registerInstaller

javax.management.ObjectName registerInstaller(Installer installerMBean,
                                              java.lang.String name)
                                              throws ManagementException
Throws:
ManagementException

registerServiceAssembly

void registerServiceAssembly(ServiceAssemblyLifeCycle serviceAssemblyLifeCycle,
                             java.lang.String name)

registerSharedLibrary

void registerSharedLibrary(SharedLibraryLifeCycle sharedLibraryLifeCycle,
                           java.lang.String name)

unregisterBindingComponent

void unregisterBindingComponent(java.lang.String name)
                                throws ManagementException
Throws:
ManagementException

unregisterEngineComponent

void unregisterEngineComponent(java.lang.String name)
                               throws ManagementException
Throws:
ManagementException

unregisterInstaller

void unregisterInstaller(java.lang.String name)
                         throws ManagementException
Throws:
ManagementException

unregisterServiceAssembly

void unregisterServiceAssembly(java.lang.String saName)
                               throws ManagementException
Throws:
ManagementException

unregisterSharedLibrary

void unregisterSharedLibrary(java.lang.String slName)
                             throws ManagementException
Throws:
ManagementException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.