KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > petals > component > common > SimpleBootstrap


1 package org.objectweb.petals.component.common;
2
3 import javax.jbi.JBIException;
4 import javax.jbi.component.Bootstrap;
5 import javax.jbi.component.InstallationContext;
6 import javax.management.ObjectName JavaDoc;
7
8 /**
9  * A simple bootstrap implementation that does nothing...
10  *
11  * @author ofabre
12  *
13  */

14 public class SimpleBootstrap implements Bootstrap {
15
16     public void cleanUp() throws JBIException {
17
18     }
19
20     /**
21      * Returns null by default as this class does not provides JMX extension
22      * MBean
23      *
24      * @see javax.jbi.component.ComponentLifeCycle#getExtensionMBeanName()
25      */

26     public ObjectName JavaDoc getExtensionMBeanName() {
27         return null;
28     }
29
30     public void init(InstallationContext installContext) throws JBIException {
31
32     }
33
34     public void onInstall() throws JBIException {
35
36     }
37
38     public void onUninstall() throws JBIException {
39
40     }
41
42 }
43
Popular Tags