public abstract class AJettyHandlerService extends java.lang.Object implements JettyHandler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_CONFIGBUNDLE
Constant for the ComponentContext property "configBundle".
|
| Constructor and Description |
|---|
AJettyHandlerService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(ComponentContext context)
read
#PROPERTY_ROOTCONTEXTPATH property. |
protected java.lang.String |
getConfigBundle() |
protected java.lang.String |
getConfigPathProperty(ComponentContext context,
java.lang.String property)
read property value.
|
java.lang.String |
getRootContextPath()
Returns the root path of the context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHandlerpublic static final java.lang.String PROPERTY_CONFIGBUNDLE
protected void activate(ComponentContext context)
#PROPERTY_ROOTCONTEXTPATH property.context - OSGi component contextpublic java.lang.String getRootContextPath()
getRootContextPath in interface JettyHandlerprotected java.lang.String getConfigBundle()
protected java.lang.String getConfigPathProperty(ComponentContext context,
java.lang.String property)
PROPERTY_CONFIGBUNDLE is set, assume that the property value is a path relative to
the bundle configuration directory. Else return the original value.context - OSGi component contextproperty - property name