- 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 interface org.jboss.gravia.runtime.spi.HeadersProvider
-
Return a mutable dictionary of manifest headers
- getHeaders() - Method in class org.jboss.gravia.runtime.spi.ManifestHeadersProvider
-
Return a mutable dictionary of manifest headers
- getHeaders() - Method in class org.jboss.gravia.runtime.spi.PropertiesHeadersProvider
-
- 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
-
- getInstance() - Static method in class org.jboss.gravia.runtime.spi.URLStreamHandlerFactoryProxy
-
- 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 class org.jboss.gravia.runtime.ModuleTracker
-
Return an array of Module
s for all modules being tracked by this
ModuleTracker
.
- 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
-
- getObject(Module) - Method in class org.jboss.gravia.runtime.ModuleTracker
-
Returns the customized object for the specified Module
if the
specified module is being tracked by this ModuleTracker
.
- 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.AbstractPropertiesProvider
-
- 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, Object) - Method in class org.jboss.gravia.runtime.spi.CompositePropertiesProvider
-
- 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 class org.jboss.gravia.runtime.spi.EnvPropertiesProvider
-
- getProperty(String, Object) - Method in class org.jboss.gravia.runtime.spi.EnvPropertiesProvider
-
- getProperty(String, Object) - Method in class org.jboss.gravia.runtime.spi.MapPropertiesProvider
-
- 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, Object) - Method in class org.jboss.gravia.runtime.spi.RuntimePropertiesProvider
-
- getProperty(String) - Method in class org.jboss.gravia.runtime.spi.SubstitutionPropertiesProvider
-
- getProperty(String, Object) - Method in class org.jboss.gravia.runtime.spi.SubstitutionPropertiesProvider
-
- getProperty(String, Object) - Method in class org.jboss.gravia.runtime.spi.SystemPropertiesProvider
-
- 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.
- getRequiredProperty(String) - Method in interface org.jboss.gravia.runtime.Runtime
-
Returns the value of the specified property.
- getRequiredProperty(String) - Method in class org.jboss.gravia.runtime.spi.AbstractPropertiesProvider
-
- getRequiredProperty(String) - Method in class org.jboss.gravia.runtime.spi.AbstractRuntime
-
- getRequiredProperty(String) - Method in interface org.jboss.gravia.runtime.spi.PropertiesProvider
-
Returns the value of the specified property.
- 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.
- getRequiredService(Class<T>) - Static method in class org.jboss.gravia.runtime.ServiceLocator
-
- getRequiredService(ModuleContext, Class<T>) - Static method in class org.jboss.gravia.runtime.ServiceLocator
-
- 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.
- getService(Class<T>) - Static method in class org.jboss.gravia.runtime.ServiceLocator
-
- getService(ModuleContext, Class<T>) - Static method in class org.jboss.gravia.runtime.ServiceLocator
-
- getService(ServiceReference<S>) - Method in class org.jboss.gravia.runtime.ServiceTracker
-
Returns the service object for the specified ServiceReference
if
the specified referenced service is being tracked by this
ServiceTracker
.
- getService() - Method in class org.jboss.gravia.runtime.ServiceTracker
-
Returns a service object for one of the services being tracked by this
ServiceTracker
.
- 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.
- getServiceReference() - Method in class org.jboss.gravia.runtime.ServiceTracker
-
Returns a ServiceReference
for one of the services being tracked
by this ServiceTracker
.
- 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.
- getServiceReferences() - Method in class org.jboss.gravia.runtime.ServiceTracker
-
Return an array of ServiceReference
s for all services being
tracked by this ServiceTracker
.
- getServices() - Method in class org.jboss.gravia.runtime.ServiceTracker
-
Return an array of service objects for all services being tracked by this
ServiceTracker
.
- getServices(T[]) - Method in class org.jboss.gravia.runtime.ServiceTracker
-
Return an array of service objects for all services being tracked by this
ServiceTracker
.
- 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
-
- getTracked() - Method in class org.jboss.gravia.runtime.ModuleTracker
-
Return a Map
with the Module
s and customized objects for
all modules being tracked by this ModuleTracker
.
- getTracked() - Method in class org.jboss.gravia.runtime.ServiceTracker
-
Return a SortedMap
of the ServiceReference
s and service
objects for all services being tracked by this ServiceTracker
.
- getTrackingCount() - Method in class org.jboss.gravia.runtime.ModuleTracker
-
Returns the tracking count for this ModuleTracker
.
- getTrackingCount() - Method in class org.jboss.gravia.runtime.ServiceTracker
-
Returns the tracking count for this ServiceTracker
.
- 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
-
- MapPropertiesProvider - Class in org.jboss.gravia.runtime.spi
-
- MapPropertiesProvider() - Constructor for class org.jboss.gravia.runtime.spi.MapPropertiesProvider
-
- MapPropertiesProvider(Properties) - Constructor for class org.jboss.gravia.runtime.spi.MapPropertiesProvider
-
- MapPropertiesProvider(Map<String, Object>) - Constructor for class org.jboss.gravia.runtime.spi.MapPropertiesProvider
-
- 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.
- modifiedModule(Module, ModuleEvent, T) - Method in class org.jboss.gravia.runtime.ModuleTracker
-
Default implementation of the
ModuleTrackerCustomizer.modifiedModule
method.
- modifiedModule(Module, ModuleEvent, T) - Method in interface org.jboss.gravia.runtime.ModuleTrackerCustomizer
-
A module tracked by the ModuleTracker
has been modified.
- modifiedService(ServiceReference<S>, T) - Method in class org.jboss.gravia.runtime.ServiceTracker
-
Default implementation of the
ServiceTrackerCustomizer.modifiedService
method.
- modifiedService(ServiceReference<S>, T) - Method in interface org.jboss.gravia.runtime.ServiceTrackerCustomizer
-
A service tracked by the ServiceTracker
has been modified.
- 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 five 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(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
-
A checked exception 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.
- ModuleTracker<T> - Class in org.jboss.gravia.runtime
-
The ModuleTracker
class simplifies tracking modules much like the
ServiceTracker
simplifies tracking services.
- ModuleTracker(ModuleContext, ModuleTrackerCustomizer<T>, Module.State...) - Constructor for class org.jboss.gravia.runtime.ModuleTracker
-
Create a ModuleTracker
for modules whose state is present in the
specified state mask.
- ModuleTrackerCustomizer<T> - Interface in org.jboss.gravia.runtime
-
The ModuleTrackerCustomizer
interface allows a ModuleTracker
to customize the Module
s that are tracked.
- register() - Static method in class org.jboss.gravia.runtime.spi.URLStreamHandlerFactoryProxy
-
- 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.
- remove(Module) - Method in class org.jboss.gravia.runtime.ModuleTracker
-
Remove a module from this ModuleTracker
.
- remove(ServiceReference<S>) - Method in class org.jboss.gravia.runtime.ServiceTracker
-
Remove a service from this ServiceTracker
.
- 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
-
- removedModule(Module, ModuleEvent, T) - Method in class org.jboss.gravia.runtime.ModuleTracker
-
Default implementation of the
ModuleTrackerCustomizer.removedModule
method.
- removedModule(Module, ModuleEvent, T) - Method in interface org.jboss.gravia.runtime.ModuleTrackerCustomizer
-
A module tracked by the ModuleTracker
has been removed.
- removedService(ServiceReference<S>, T) - Method in class org.jboss.gravia.runtime.ServiceTracker
-
Default implementation of the
ServiceTrackerCustomizer.removedService
method.
- removedService(ServiceReference<S>, T) - Method in interface org.jboss.gravia.runtime.ServiceTrackerCustomizer
-
A service tracked by the ServiceTracker
has been removed.
- 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
-
- removeResource(String) - Static method in class org.jboss.gravia.runtime.spi.NamedResourceAssociation
-
- removeResource() - Static method in class org.jboss.gravia.runtime.spi.ThreadResourceAssociation
-
- 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
-
- removingHandler(String, ServiceReference<URLStreamHandler>, URLStreamHandler) - Method in class org.jboss.gravia.runtime.spi.URLStreamHandlerTracker
-
- 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 logger provider
- RuntimePlugin - Interface in org.jboss.gravia.runtime.spi
-
A plugin for the runtime to install internal modules on runtime initiallization.
- RuntimePropertiesProvider - Class in org.jboss.gravia.runtime.spi
-
A properties provider that delegates to the runtime.
- RuntimePropertiesProvider() - Constructor for class org.jboss.gravia.runtime.spi.RuntimePropertiesProvider
-
- RuntimePropertiesProvider(Runtime) - Constructor for class org.jboss.gravia.runtime.spi.RuntimePropertiesProvider
-
- 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(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.
- ServiceLocator - Class in org.jboss.gravia.runtime
-
- ServiceReference<T> - Interface in org.jboss.gravia.runtime
-
A reference to a service.
- ServiceRegistration<T> - Interface in org.jboss.gravia.runtime
-
A registered service.
- ServiceTracker<S,T> - Class in org.jboss.gravia.runtime
-
The ServiceTracker
class simplifies using services from the
Runtime's service registry.
- ServiceTracker(ModuleContext, ServiceReference<S>, ServiceTrackerCustomizer<S, T>) - Constructor for class org.jboss.gravia.runtime.ServiceTracker
-
Create a ServiceTracker
on the specified ServiceReference
.
- ServiceTracker(ModuleContext, String, ServiceTrackerCustomizer<S, T>) - Constructor for class org.jboss.gravia.runtime.ServiceTracker
-
Create a ServiceTracker
on the specified class name.
- ServiceTracker(ModuleContext, Filter, ServiceTrackerCustomizer<S, T>) - Constructor for class org.jboss.gravia.runtime.ServiceTracker
-
Create a ServiceTracker
on the specified Filter
object.
- ServiceTracker(ModuleContext, Class<S>, ServiceTrackerCustomizer<S, T>) - Constructor for class org.jboss.gravia.runtime.ServiceTracker
-
Create a ServiceTracker
on the specified class.
- ServiceTrackerCustomizer<S,T> - Interface in org.jboss.gravia.runtime
-
The ServiceTrackerCustomizer
interface allows a
ServiceTracker
to customize the service objects that are tracked.
- setDelegate(URLStreamHandlerTracker) - Static method in class org.jboss.gravia.runtime.spi.URLStreamHandlerFactoryProxy
-
- 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
-
- shutdown() - Method in interface org.jboss.gravia.runtime.Runtime
-
Shutdown the runtime.
- shutdown() - Method in class org.jboss.gravia.runtime.spi.AbstractRuntime
-
- shutdownComplete() - Method in interface org.jboss.gravia.runtime.Runtime
-
True, if runtime shutdown has been completed
- shutdownComplete() - Method in class org.jboss.gravia.runtime.spi.AbstractRuntime
-
- shutdownInProgress() - Method in interface org.jboss.gravia.runtime.Runtime
-
True, if runtime shutdown has been initiated
- shutdownInProgress() - Method in class org.jboss.gravia.runtime.spi.AbstractRuntime
-
- size() - Method in class org.jboss.gravia.runtime.ModuleTracker
-
Return the number of modules being tracked by this ModuleTracker
.
- size() - Method in class org.jboss.gravia.runtime.ServiceTracker
-
Return the number of services being tracked by this
ServiceTracker
.
- start(BundleContext) - Method in class org.jboss.gravia.runtime.BundleActivatorBridge
-
- 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(BundleContext) - Method in class org.jboss.gravia.runtime.BundleActivatorBridge
-
- 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.
- SubstitutionPropertiesProvider - Class in org.jboss.gravia.runtime.spi
-
- SubstitutionPropertiesProvider(PropertiesProvider...) - Constructor for class org.jboss.gravia.runtime.spi.SubstitutionPropertiesProvider
-
- SynchronousModuleListener - Interface in org.jboss.gravia.runtime
-
A synchronous ModuleEvent
listener.
- SystemPropertiesProvider - Class in org.jboss.gravia.runtime.spi
-
- SystemPropertiesProvider() - Constructor for class org.jboss.gravia.runtime.spi.SystemPropertiesProvider
-