1 package org.objectweb.petals.jbi.management.service; 2 3 import java.util.Map ; 4 5 import javax.management.MBeanServer ; 6 import javax.management.ObjectName ; 7 8 import org.objectweb.petals.jbi.component.lifecycle.ComponentLifeCycle; 9 import org.objectweb.petals.jbi.component.lifecycle.Installer; 10 import org.objectweb.petals.jbi.component.lifecycle.LifeCycleAbstract; 11 import org.objectweb.petals.jbi.component.lifecycle.ServiceAssemblyLifeCycle; 12 13 34 public interface LifeCycleManagerService { 35 36 ObjectName getAdminServiceMBeanName() throws ManagementException; 37 38 49 ComponentLifeCycle getComponentByName(String name); 50 51 ObjectName getDeploymentServiceMBeanName() throws ManagementException; 52 53 ObjectName getInstallationServiceMBeanName() throws ManagementException; 54 55 ObjectName getInstallerByName(String name); 56 57 MBeanNamesImpl getMBeanNames(); 58 59 MBeanServer getMBeanServer(); 60 61 ServiceAssemblyLifeCycle getServiceAssemblyByName(String saName); 62 63 Map <ObjectName , ComponentLifeCycle> getBindingCompoLifeCycles(); 64 65 Map <ObjectName , ComponentLifeCycle> getEngineCompoLifeCycles(); 66 67 Map <ObjectName , Installer> getInstallers(); 68 69 Map <String , ServiceAssemblyLifeCycle> getServiceAssemblyLifeCycles(); 70 71 Map <ObjectName , LifeCycleAbstract> getSystemServices(); 72 73 ObjectName registerBindingComponent(ComponentLifeCycle lifeCycle) 74 throws ManagementException; 75 76 ObjectName registerEngineComponent(ComponentLifeCycle lifeCycle) 77 throws ManagementException; 78 79 ObjectName registerInstaller(Installer installerMBean) 80 throws ManagementException; 81 82 void registerServiceAssembly(String saName, 83 ServiceAssemblyLifeCycle serviceAssemblyLifeCycle); 84 85 void unregisterBindingComponent(ObjectName name) throws ManagementException; 86 87 void unregisterEngineComponent(ObjectName name) throws ManagementException; 88 89 void unregisterInstaller(ObjectName name) throws ManagementException; 90 91 void unregisterServiceAssembly(String saName) throws ManagementException; 92 } 93 | Popular Tags |