- 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
-
- 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.
- 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.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.util.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
-
- 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 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.util.DefaultPropertiesProvider
-
- getProperty(String, Object) - Method in class org.jboss.gravia.runtime.util.DefaultPropertiesProvider
-
- 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.
- getReference() - Method in interface org.jboss.gravia.runtime.ServiceRegistration
-
Returns a ServiceReference
object for a service being registered.
- getRequiredRuntime() - Static method in class org.jboss.gravia.runtime.RuntimeLocator
-
Returns the default runtime instance.
- 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
-
- 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.util
-
Provides Moduel headers from a manifest
- ManifestHeadersProvider(Manifest) - Constructor for class org.jboss.gravia.runtime.util.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.util.NoFilter
-
- match(ServiceReference<?>) - Method in class org.jboss.gravia.runtime.util.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.util.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.util.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.
- 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 - 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.
- REGISTERED - Static variable in class org.jboss.gravia.runtime.ServiceEvent
-
This service has been registered.
- registerService(Class<S>, S, Dictionary<String, ?>) - Method in interface org.jboss.gravia.runtime.ModuleContext
-
Registers the specified service object with the specified properties
under the name of the specified class with the Runtime.
- registerService(String, Object, Dictionary<String, ?>) - Method in interface org.jboss.gravia.runtime.ModuleContext
-
Registers the specified service object with the specified properties
under the specified class name with the Runtime.
- registerService(String[], Object, Dictionary<String, ?>) - Method in interface org.jboss.gravia.runtime.ModuleContext
-
Registers the specified service object with the specified properties
under the specified class names into the Runtime.
- releaseRuntime() - Static method in class org.jboss.gravia.runtime.RuntimeLocator
-
Release the default runtime instance.
- REMOTE - Static variable in exception org.jboss.gravia.runtime.ServiceException
-
An error occurred invoking a remote service.
- removeAllBundleListeners() - Method in class org.jboss.gravia.runtime.spi.RuntimeEventsManager
-
- removeAllServiceListeners() - Method in class org.jboss.gravia.runtime.spi.RuntimeEventsManager
-
- removeAttachment(AttachmentKey<T>) - Method in class org.jboss.gravia.runtime.spi.AbstractModule
-
- removeBundleListeners(Module) - Method in class org.jboss.gravia.runtime.spi.RuntimeEventsManager
-
- removeModuleListener(ModuleListener) - Method in interface org.jboss.gravia.runtime.ModuleContext
-
Removes the specified ModuleListener
object from the context
module's list of listeners.
- removeModuleListener(Module, ModuleListener) - Method in class org.jboss.gravia.runtime.spi.RuntimeEventsManager
-
- removeServiceInUse(ServiceReference<?>) - Method in class org.jboss.gravia.runtime.spi.AbstractModule
-
- removeServiceListener(ServiceListener) - Method in interface org.jboss.gravia.runtime.ModuleContext
-
Removes the specified ServiceListener
object from the context
module's list of listeners.
- removeServiceListener(Module, ServiceListener) - Method in class org.jboss.gravia.runtime.spi.RuntimeEventsManager
-
- removeServiceListeners(Module) - Method in class org.jboss.gravia.runtime.spi.RuntimeEventsManager
-
- RESOLVED - Static variable in class org.jboss.gravia.runtime.ModuleEvent
-
The module has been resolved.
- Runtime - Interface in org.jboss.gravia.runtime
-
The Gravia runtime.
- RuntimeEventsManager - Class in org.jboss.gravia.runtime.spi
-
A manager for runtime listerners and their associated event delivery.
- RuntimeFactory - Interface in org.jboss.gravia.runtime.spi
-
A factory for the Runtime.
- RuntimeLocator - Class in org.jboss.gravia.runtime
-
Locates the a Runtime instance
- RuntimeLogger - Class in org.jboss.gravia.runtime.spi
-
The runtime logger provider
- RuntimePlugin - Interface in org.jboss.gravia.runtime.spi
-
A plugin for the runtime to install internal modules on runtime initiallization.
- RuntimeType - Enum in org.jboss.gravia.runtime
-
The enumeration of supported target containers
- serviceChanged(ServiceEvent) - Method in interface org.jboss.gravia.runtime.ServiceListener
-
Receives notification that a service has had a lifecycle change.
- 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
-
- 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.
- 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.
- 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.