public abstract class AbstractModuleContext extends Object implements ModuleContext
ModuleContext| Modifier | Constructor and Description |
|---|---|
protected |
AbstractModuleContext(Module module) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertNotDestroyed() |
Filter |
createFilter(String filter)
Creates a
Filter object. |
protected void |
destroy() |
Module |
getModule()
Get the module associated with this context
|
protected boolean |
isDestroyed() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddModuleListener, addServiceListener, addServiceListener, getAllServiceReferences, getService, getServiceReference, getServiceReference, getServiceReferences, getServiceReferences, registerService, registerService, registerService, removeModuleListener, removeServiceListener, ungetServiceprotected AbstractModuleContext(Module module)
protected void destroy()
protected boolean isDestroyed()
public Module getModule()
ModuleContextgetModule in interface ModuleContextpublic Filter createFilter(String filter)
ModuleContextFilter object. This Filter object may be used
to match a ServiceReference object or a Dictionary
object.
If the filter cannot be parsed, an IllegalArgumentException will be
thrown with a human readable message where the filter became unparsable.
createFilter in interface ModuleContextfilter - The filter string.Filter object encapsulating the filter string.protected void assertNotDestroyed()
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.