01: package org.objectweb.celtix.jbi.se;
02:
03: import java.util.logging.Logger;
04:
05: import javax.jbi.JBIException;
06: import javax.jbi.component.Bootstrap;
07: import javax.jbi.component.InstallationContext;
08: import javax.management.ObjectName;
09:
10: /** Bootstraps the JBI component. Does nothing for now but required
11: * by Open-ESB.
12: *
13: */
14: public class CeltixBootstrap implements Bootstrap {
15:
16: private static final Logger LOG = Logger
17: .getLogger(CeltixBootstrap.class.getName());
18:
19: // Implementation of javax.jbi.component.Bootstrap
20:
21: public final ObjectName getExtensionMBeanName() {
22: return null;
23: }
24:
25: public final void cleanUp() throws JBIException {
26: LOG.fine("Bootstrap.cleanUp called");
27:
28: }
29:
30: public final void onInstall() throws JBIException {
31: LOG.fine("Bootstrap.onInstall called");
32:
33: }
34:
35: public final void onUninstall() throws JBIException {
36: LOG.fine("Bootstrap.onUninstall called");
37: }
38:
39: public final void init(final InstallationContext argCtx)
40: throws JBIException {
41: LOG.fine("Bootstrap.init called");
42: }
43: }
|