Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.intel.cosbench.tomcat
Class TomcatRegister

    java.lang.Object
      com.intel.cosbench.tomcat.TomcatRegister

    public class TomcatRegister

extends java.lang.Object

The class encapsulates the registration of service exposed by Tomcat bundle.

Author:
  ywang19

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

### TomcatRegister

    public TomcatRegister()

Method Detail

### publishService

    public 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.

  Parameters:
    `context` - the osgi bundle context
    `service` - the service to be published in context

### unpublishService

    public void unpublishService()

  This method will unregister service from osgi context.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD