- getAllServiceReferences(String, String) - Method in interface org.jboss.gravia.runtime.ModuleContext
-
Returns an array of ServiceReference
objects.
- getAttachment(AttachmentKey<T>) - Method in class org.jboss.gravia.runtime.spi.AbstractModule
-
- getBundleAdaptor(Module) - Method in class org.jboss.gravia.runtime.spi.AbstractModule
-
- getCapability() - Method in class org.jboss.gravia.runtime.spi.AbstractWire
-
- getCapability() - Method in interface org.jboss.gravia.runtime.Wire
-
- getClassLoader() - Method in class org.jboss.gravia.runtime.spi.AbstractModule
-
- getDataFile(String) - Method in interface org.jboss.gravia.runtime.Module
-
Creates a File
object for a file in the persistent storage area
provided for this module by the Runtime.
- getDefaultEntriesProvider(Module, Attachable) - Method in class org.jboss.gravia.runtime.spi.AbstractRuntime
-
- getEntry(String) - Method in interface org.jboss.gravia.runtime.Module
-
Returns a URL to the entry at the specified path in this module.
- getEntry(String) - Method in class org.jboss.gravia.runtime.spi.AbstractModule
-
- getEntry(String) - Method in class org.jboss.gravia.runtime.spi.ClassLoaderEntriesProvider
-
- getEntry(String) - Method in interface org.jboss.gravia.runtime.spi.ModuleEntriesProvider
-
Returns a URL to the entry at the specified path in this module.
- getEntryPaths(String) - Method in interface org.jboss.gravia.runtime.Module
-
Returns an Enumeration of all the paths (String
objects) to
entries within this module whose longest sub-path matches the specified
path.
- getEntryPaths(String) - Method in class org.jboss.gravia.runtime.spi.AbstractModule
-
- getEntryPaths(String) - Method in class org.jboss.gravia.runtime.spi.ClassLoaderEntriesProvider
-
- getEntryPaths(String) - Method in interface org.jboss.gravia.runtime.spi.ModuleEntriesProvider
-
Returns an Enumeration of all the paths (String
objects) to
entries within this module whose longest sub-path matches the specified
path.
- getHeaders() - Method in interface org.jboss.gravia.runtime.Module
-
Returns this module's headers and values that where given on module installation.
- getHeaders() - Method in class org.jboss.gravia.runtime.spi.AbstractModule
-
- getHeaders() - Method in class org.jboss.gravia.runtime.spi.ManifestHeadersProvider
-
Return a mutable dictionary of manifest headers
- getIdentity() - Method in interface org.jboss.gravia.runtime.Module
-
Get the identity of this module.
- getIdentity() - Method in class org.jboss.gravia.runtime.spi.AbstractModule
-
- getModule() - Method in interface org.jboss.gravia.runtime.ModuleContext
-
Get the module associated with this context
- getModule() - Method in class org.jboss.gravia.runtime.ModuleEvent
-
Returns the module which had a lifecycle change.
- getModule(long) - Method in interface org.jboss.gravia.runtime.Runtime
-
Returns the module with the specified identifier.
- getModule(ResourceIdentity) - Method in interface org.jboss.gravia.runtime.Runtime
-
Returns the module with the specified resource identity.
- getModule(ClassLoader) - Method in interface org.jboss.gravia.runtime.Runtime
-
Returns a module that is associated with the specified class loader.
- getModule() - Method in interface org.jboss.gravia.runtime.ServiceReference
-
Returns the module that registered the service referenced by this
ServiceReference
object.
- getModule() - Method in class org.jboss.gravia.runtime.spi.AbstractModuleContext
-
- getModule(long) - Method in class org.jboss.gravia.runtime.spi.AbstractRuntime
-
- getModule(ResourceIdentity) - Method in class org.jboss.gravia.runtime.spi.AbstractRuntime
-
- getModule(ClassLoader) - Method in class org.jboss.gravia.runtime.spi.AbstractRuntime
-
- getModuleContext() - Method in interface org.jboss.gravia.runtime.Module
-
- getModuleContext() - Method in interface org.jboss.gravia.runtime.Runtime
-
Get the sytem module context.
- getModuleContext() - Method in class org.jboss.gravia.runtime.spi.AbstractRuntime
-
- getModuleId() - Method in interface org.jboss.gravia.runtime.Module
-
Returns this module's unique identifier.
- getModules() - Method in interface org.jboss.gravia.runtime.Runtime
-
Returns the set of all installed modules.
- getModules(ClassLoader) - Method in interface org.jboss.gravia.runtime.Runtime
-
Returns the set of installed modules associated with the given class loader.
- getModules(String, VersionRange) - Method in interface org.jboss.gravia.runtime.Runtime
-
Returns the set of installed modules with a given symbolic name or version.
- getModules() - Method in class org.jboss.gravia.runtime.spi.AbstractRuntime
-
- getModules(ClassLoader) - Method in class org.jboss.gravia.runtime.spi.AbstractRuntime
-
- getModules(String, VersionRange) - Method in class org.jboss.gravia.runtime.spi.AbstractRuntime
-
- getProperty(String) - Method in interface org.jboss.gravia.runtime.Runtime
-
Returns the value of the specified property.
- getProperty(String, Object) - Method in interface org.jboss.gravia.runtime.Runtime
-
Returns the value of the specified property.
- getProperty(String) - Method in interface org.jboss.gravia.runtime.ServiceReference
-
Returns the property value to which the specified property key is mapped
in the properties Dictionary
object of the service referenced by
this ServiceReference
object.
- getProperty(String) - Method in class org.jboss.gravia.runtime.spi.AbstractRuntime
-
- getProperty(String, Object) - Method in class org.jboss.gravia.runtime.spi.AbstractRuntime
-
- getProperty(String) - Method in class org.jboss.gravia.runtime.spi.DefaultPropertiesProvider
-
- getProperty(String, Object) - Method in class org.jboss.gravia.runtime.spi.DefaultPropertiesProvider
-
- getProperty(String) - Method in interface org.jboss.gravia.runtime.spi.PropertiesProvider
-
Returns the value of the specified property.
- getProperty(String, Object) - Method in interface org.jboss.gravia.runtime.spi.PropertiesProvider
-
Returns the value of the specified property.
- getProperty(String) - Method in class org.jboss.gravia.runtime.spi.RuntimePropertiesProvider
-
- getProperty(String, Object) - Method in class org.jboss.gravia.runtime.spi.RuntimePropertiesProvider
-
- getPropertyKeys() - Method in interface org.jboss.gravia.runtime.ServiceReference
-
Returns an array of the keys in the properties Dictionary
object
of the service referenced by this ServiceReference
object.
- getProvidedResourceWires(String) - Method in class org.jboss.gravia.runtime.spi.AbstractWiring
-
- getProvidedResourceWires(String) - Method in interface org.jboss.gravia.runtime.Wiring
-
Returns the
Wire
s to the provided
capabilities
of this wiring.
- getProvider() - Method in class org.jboss.gravia.runtime.spi.AbstractWire
-
- getProvider() - Method in interface org.jboss.gravia.runtime.Wire
-
- getReference() - Method in interface org.jboss.gravia.runtime.ServiceRegistration
-
Returns a ServiceReference
object for a service being registered.
- getRequiredResourceWires(String) - Method in class org.jboss.gravia.runtime.spi.AbstractWiring
-
- getRequiredResourceWires(String) - Method in interface org.jboss.gravia.runtime.Wiring
-
Returns the
Wire
s to the
requirements
in use
by this wiring.
- getRequiredRuntime() - Static method in class org.jboss.gravia.runtime.RuntimeLocator
-
Returns the default runtime instance.
- getRequirement() - Method in class org.jboss.gravia.runtime.spi.AbstractWire
-
- getRequirement() - Method in interface org.jboss.gravia.runtime.Wire
-
- getRequirer() - Method in class org.jboss.gravia.runtime.spi.AbstractWire
-
- getRequirer() - Method in interface org.jboss.gravia.runtime.Wire
-
- getResource() - Method in class org.jboss.gravia.runtime.spi.AbstractWiring
-
- getResource(String) - Static method in class org.jboss.gravia.runtime.spi.NamedResourceAssociation
-
- getResource() - Static method in class org.jboss.gravia.runtime.spi.ThreadResourceAssociation
-
- getResource() - Method in interface org.jboss.gravia.runtime.Wiring
-
Returns the resource associated with this wiring.
- getResourceCapabilities(String) - Method in class org.jboss.gravia.runtime.spi.AbstractWiring
-
- getResourceCapabilities(String) - Method in interface org.jboss.gravia.runtime.Wiring
-
Returns the capabilities provided by this wiring.
- getResourceRequirements(String) - Method in class org.jboss.gravia.runtime.spi.AbstractWiring
-
- getResourceRequirements(String) - Method in interface org.jboss.gravia.runtime.Wiring
-
Returns the requirements of this wiring.
- getRuntime() - Static method in class org.jboss.gravia.runtime.RuntimeLocator
-
Returns the default runtime instance or null
if it has not been created.
- getRuntime() - Method in class org.jboss.gravia.runtime.spi.AbstractModule
-
- getRuntime() - Method in class org.jboss.gravia.runtime.spi.RuntimePropertiesProvider
-
- getRuntimeType() - Static method in enum org.jboss.gravia.runtime.RuntimeType
-
- getRuntimeType(Runtime) - Static method in enum org.jboss.gravia.runtime.RuntimeType
-
- getRuntimeType(String) - Static method in enum org.jboss.gravia.runtime.RuntimeType
-
- getService(ServiceReference<S>) - Method in interface org.jboss.gravia.runtime.ModuleContext
-
Returns the service object referenced by the specified
ServiceReference
object.
- getService(Module, ServiceRegistration<S>) - Method in interface org.jboss.gravia.runtime.ServiceFactory
-
Creates a new service object.
- getServiceReference(Class<S>) - Method in interface org.jboss.gravia.runtime.ModuleContext
-
Returns a ServiceReference
object for a service that implements
and was registered under the name of the specified class.
- getServiceReference(String) - Method in interface org.jboss.gravia.runtime.ModuleContext
-
Returns a ServiceReference
object for a service that implements
and was registered under the specified class.
- getServiceReference() - Method in class org.jboss.gravia.runtime.ServiceEvent
-
Returns a reference to the service that had a change occur in its
lifecycle.
- getServiceReferences(Class<S>, String) - Method in interface org.jboss.gravia.runtime.ModuleContext
-
Returns a collection of ServiceReference
objects.
- getServiceReferences(String, String) - Method in interface org.jboss.gravia.runtime.ModuleContext
-
Returns an array of ServiceReference
objects.
- getServicesInUseInternal() - Method in class org.jboss.gravia.runtime.spi.AbstractModule
-
- getState() - Method in interface org.jboss.gravia.runtime.Module
-
Returns this module's current state.
- getSystemIdentity() - Method in class org.jboss.gravia.runtime.spi.AbstractRuntime
-
- getType() - Method in class org.jboss.gravia.runtime.ModuleEvent
-
Returns the type of lifecyle event.
- getType() - Method in class org.jboss.gravia.runtime.ServiceEvent
-
Returns the type of event.
- getType() - Method in exception org.jboss.gravia.runtime.ServiceException
-
Returns the type for this exception or UNSPECIFIED
if the type
was unspecified or unknown.
- ManifestHeadersProvider - Class in org.jboss.gravia.runtime.spi
-
Provides Moduel headers from a manifest
- ManifestHeadersProvider(Manifest) - Constructor for class org.jboss.gravia.runtime.spi.ManifestHeadersProvider
-
- match(ServiceReference<?>) - Method in interface org.jboss.gravia.runtime.Filter
-
Filter using a service's properties.
- match(Dictionary<String, ?>) - Method in interface org.jboss.gravia.runtime.Filter
-
Filter using a Dictionary
with case insensitive key lookup.
- match(Dictionary) - Method in class org.jboss.gravia.runtime.spi.NoFilter
-
- match(ServiceReference<?>) - Method in class org.jboss.gravia.runtime.spi.NoFilter
-
- matchCase(Dictionary<String, ?>) - Method in interface org.jboss.gravia.runtime.Filter
-
Filter using a Dictionary
.
- matchCase(Dictionary) - Method in class org.jboss.gravia.runtime.spi.NoFilter
-
- matches(Map<String, ?>) - Method in interface org.jboss.gravia.runtime.Filter
-
Filter using a Map
.
- matches(Map<String, ?>) - Method in class org.jboss.gravia.runtime.spi.NoFilter
-
- MODIFIED - Static variable in class org.jboss.gravia.runtime.ServiceEvent
-
The properties of a registered service have been modified.
- MODIFIED_ENDMATCH - Static variable in class org.jboss.gravia.runtime.ServiceEvent
-
The properties of a registered service have been modified and the new
properties no longer match the listener's filter.
- Module - Interface in org.jboss.gravia.runtime
-
An installed module in the Runtime.
- Module.State - Enum in org.jboss.gravia.runtime
-
A module can be in one of six states:
- MODULE_ENTRIES_PROVIDER_KEY - Static variable in class org.jboss.gravia.runtime.spi.AbstractModule
-
- ModuleActivator - Interface in org.jboss.gravia.runtime
-
Customizes the starting and stopping of a module.
- ModuleActivatorBridge - Class in org.jboss.gravia.runtime
-
- ModuleActivatorBridge() - Constructor for class org.jboss.gravia.runtime.ModuleActivatorBridge
-
- moduleChanged(ModuleEvent) - Method in interface org.jboss.gravia.runtime.ModuleListener
-
Receives notification that a module has had a lifecycle change.
- ModuleContext - Interface in org.jboss.gravia.runtime
-
A module's execution context within the Runtime.
- ModuleEntriesProvider - Interface in org.jboss.gravia.runtime.spi
-
A provider for module entries.
- moduleEvent(int) - Static method in class org.jboss.gravia.runtime.ConstantsHelper
-
- ModuleEvent - Class in org.jboss.gravia.runtime
-
An event from the Runtime describing a module lifecycle change.
- ModuleEvent(int, Module) - Constructor for class org.jboss.gravia.runtime.ModuleEvent
-
Creates a module event of the specified type.
- ModuleException - Exception in org.jboss.gravia.runtime
-
An xception used to indicate that a module lifecycle problem
occurred.
- ModuleException(String) - Constructor for exception org.jboss.gravia.runtime.ModuleException
-
Creates a ModuleException
with the specified message.
- ModuleException(String, Throwable) - Constructor for exception org.jboss.gravia.runtime.ModuleException
-
Creates a ModuleException
with the specified message and
exception cause.
- ModuleException(Throwable) - Constructor for exception org.jboss.gravia.runtime.ModuleException
-
Creates a ModuleException
with the specified exception cause.
- ModuleListener - Interface in org.jboss.gravia.runtime
-
A ModuleEvent
listener.
- serviceChanged(ServiceEvent) - Method in interface org.jboss.gravia.runtime.ServiceListener
-
Receives notification that a service has had a lifecycle change.
- serviceEvent(int) - Static method in class org.jboss.gravia.runtime.ConstantsHelper
-
- ServiceEvent - Class in org.jboss.gravia.runtime
-
An event from the Runtime describing a service lifecycle change.
- ServiceEvent(int, ServiceReference<?>) - Constructor for class org.jboss.gravia.runtime.ServiceEvent
-
Creates a new service event object.
- ServiceException - Exception in org.jboss.gravia.runtime
-
A service exception used to indicate that a service problem occurred.
- ServiceException(String, Throwable) - Constructor for exception org.jboss.gravia.runtime.ServiceException
-
Creates a ServiceException
with the specified message and
exception cause.
- ServiceException(String) - Constructor for exception org.jboss.gravia.runtime.ServiceException
-
Creates a ServiceException
with the specified message.
- ServiceException(String, int, Throwable) - Constructor for exception org.jboss.gravia.runtime.ServiceException
-
Creates a ServiceException
with the specified message, type and
exception cause.
- ServiceException(String, int) - Constructor for exception org.jboss.gravia.runtime.ServiceException
-
Creates a ServiceException
with the specified message and type.
- ServiceFactory<S> - Interface in org.jboss.gravia.runtime
-
Allows services to provide customized service objects.
- ServiceListener - Interface in org.jboss.gravia.runtime
-
A ServiceEvent
listener.
- ServiceReference<T> - Interface in org.jboss.gravia.runtime
-
A reference to a service.
- ServiceRegistration<T> - Interface in org.jboss.gravia.runtime
-
A registered service.
- SERVLET_CONTEXT_KEY - Static variable in class org.jboss.gravia.runtime.WebAppContextListener
-
The attachment key for the ServletContext
- setProperties(Dictionary<String, ?>) - Method in interface org.jboss.gravia.runtime.ServiceRegistration
-
Updates the properties associated with a service.
- setState(Module.State) - Method in class org.jboss.gravia.runtime.spi.AbstractModule
-
- start() - Method in interface org.jboss.gravia.runtime.Module
-
Starts this module.
- start(ModuleContext) - Method in interface org.jboss.gravia.runtime.ModuleActivator
-
Called when this module is started so the Runtime can perform the
module-specific activities necessary to start this module.
- start(BundleContext) - Method in class org.jboss.gravia.runtime.ModuleActivatorBridge
-
- STARTED - Static variable in class org.jboss.gravia.runtime.ModuleEvent
-
The module has been started.
- STARTING - Static variable in class org.jboss.gravia.runtime.ModuleEvent
-
The module is about to be activated.
- stop() - Method in interface org.jboss.gravia.runtime.Module
-
Stops this module.
- stop(ModuleContext) - Method in interface org.jboss.gravia.runtime.ModuleActivator
-
Called when this module is stopped so the Runtime can perform the
module-specific activities necessary to stop the module.
- stop(BundleContext) - Method in class org.jboss.gravia.runtime.ModuleActivatorBridge
-
- STOPPED - Static variable in class org.jboss.gravia.runtime.ModuleEvent
-
The module has been stopped.
- STOPPING - Static variable in class org.jboss.gravia.runtime.ModuleEvent
-
The module is about to deactivated.
- SUBCLASSED - Static variable in exception org.jboss.gravia.runtime.ServiceException
-
The exception is a subclass of ServiceException.
- SynchronousModuleListener - Interface in org.jboss.gravia.runtime
-
A synchronous ModuleEvent
listener.