1 17 package org.apache.servicemix.jbi.installation; 18 19 import javax.jbi.JBIException; 20 import javax.jbi.component.Bootstrap; 21 import javax.jbi.component.InstallationContext; 22 import javax.management.ObjectName ; 23 24 public class Bootstrap2 implements Bootstrap { 25 26 private static Bootstrap delegate; 27 28 31 public void cleanUp() throws JBIException { 32 delegate.cleanUp(); 33 } 34 35 38 public ObjectName getExtensionMBeanName() { 39 return delegate.getExtensionMBeanName(); 40 } 41 42 45 public void init(InstallationContext installContext) throws JBIException { 46 delegate.init(installContext); 47 } 48 49 52 public void onInstall() throws JBIException { 53 delegate.onInstall(); 54 } 55 56 59 public void onUninstall() throws JBIException { 60 delegate.onUninstall(); 61 } 62 63 66 public static Bootstrap getDelegate() { 67 return delegate; 68 } 69 70 73 public static void setDelegate(Bootstrap delegate) { 74 Bootstrap2.delegate = delegate; 75 } 76 77 } 78 | Popular Tags |