1 25 package org.objectweb.petals.jbi.mock; 26 27 import java.util.Map ; 28 29 import javax.management.MBeanServer ; 30 import javax.management.ObjectName ; 31 32 import org.objectweb.petals.jbi.component.lifecycle.ComponentLifeCycle; 33 import org.objectweb.petals.jbi.component.lifecycle.Installer; 34 import org.objectweb.petals.jbi.component.lifecycle.LifeCycleAbstract; 35 import org.objectweb.petals.jbi.component.lifecycle.ServiceAssemblyLifeCycle; 36 import org.objectweb.petals.jbi.management.service.LifeCycleManagerService; 37 import org.objectweb.petals.jbi.management.service.MBeanNamesImpl; 38 import org.objectweb.petals.jbi.management.service.ManagementException; 39 40 public class MockLifeCycleManagerService implements LifeCycleManagerService { 41 42 public ObjectName getAdminServiceMBeanName() throws ManagementException { 43 return null; 44 } 45 46 public Map <ObjectName , ComponentLifeCycle> getBindingCompoLifeCycles() { 47 return null; 48 } 49 50 public ComponentLifeCycle getComponentByName(String name) { 51 return null; 52 } 53 54 public ObjectName getDeploymentServiceMBeanName() 55 throws ManagementException { 56 return null; 57 } 58 59 public Map <ObjectName , ComponentLifeCycle> getEngineCompoLifeCycles() { 60 return null; 61 } 62 63 public ObjectName getInstallationServiceMBeanName() 64 throws ManagementException { 65 return null; 66 } 67 68 public ObjectName getInstallerByName(String name) { 69 return null; 70 } 71 72 public Map <ObjectName , Installer> getInstallers() { 73 return null; 74 } 75 76 public MBeanNamesImpl getMBeanNames() { 77 return null; 78 } 79 80 public MBeanServer getMBeanServer() { 81 return null; 82 } 83 84 public ServiceAssemblyLifeCycle getServiceAssemblyByName(String saName) { 85 return null; 86 } 87 88 public Map <String , ServiceAssemblyLifeCycle> getServiceAssemblyLifeCycles() { 89 return null; 90 } 91 92 public Map <ObjectName , LifeCycleAbstract> getSystemServices() { 93 return null; 94 } 95 96 public ObjectName registerBindingComponent(ComponentLifeCycle lifeCycle) 97 throws ManagementException { 98 return null; 99 } 100 101 public ObjectName registerEngineComponent(ComponentLifeCycle lifeCycle) 102 throws ManagementException { 103 return null; 104 } 105 106 public ObjectName registerInstaller(Installer installerMBean) 107 throws ManagementException { 108 return null; 109 } 110 111 public void registerServiceAssembly(String saName, 112 ServiceAssemblyLifeCycle serviceAssemblyLifeCycle) { 113 } 114 115 public void unregisterBindingComponent(ObjectName name) 116 throws ManagementException { 117 } 118 119 public void unregisterEngineComponent(ObjectName name) 120 throws ManagementException { 121 } 122 123 public void unregisterInstaller(ObjectName name) throws ManagementException { 124 throw new ManagementException("unregisterInstaller testing exception"); 125 } 126 127 public void unregisterServiceAssembly(String saName) 128 throws ManagementException { 129 } 130 131 } 132 | Popular Tags |