|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intel.cosbench.tomcat.TomcatRegister
public class TomcatRegister
The class encapsulates the registration of service exposed by Tomcat bundle.
Constructor Summary | |
---|---|
TomcatRegister()
|
Method Summary | |
---|---|
void |
publishService(org.osgi.framework.BundleContext context,
org.apache.catalina.core.StandardService service)
This method will register service into osgi context, so other bundles can access the service. |
void |
unpublishService()
This method will unregister service from osgi context. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TomcatRegister()
Method Detail |
---|
public void publishService(org.osgi.framework.BundleContext context, org.apache.catalina.core.StandardService service)
context
- the osgi bundle contextservice
- the service to be published in contextpublic void unpublishService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |