A B C D E F G H I M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractBuilder() - Constructor for class org.wildfly.service.Installer.AbstractBuilder
- AbstractDependency() - Constructor for class org.wildfly.service.Dependency.AbstractDependency
- AbstractNullaryBuilder(Service) - Constructor for class org.wildfly.service.Installer.AbstractNullaryBuilder
- AbstractUnaryBuilder(Function<T, V>, Supplier<T>) - Constructor for class org.wildfly.service.Installer.AbstractUnaryBuilder
- AbstractUnaryBuilder(Function<T, V>, Supplier<T>, BiFunction<SB, Collection<ServiceName>, Consumer<V>>) - Constructor for class org.wildfly.service.Installer.AbstractUnaryBuilder
- accept(B) - Method in class org.wildfly.service.Dependency.AbstractDependency
- accept(B) - Method in class org.wildfly.service.Dependency.SimpleDependency
- add(K) - Method in interface org.wildfly.service.capture.ValueRegistry
-
Adds a value registration for the specified key
- apply(B) - Method in class org.wildfly.service.Dependency.DefaultDependency
- apply(SB) - Method in class org.wildfly.service.Installer.AbstractNullaryBuilder
- apply(SB) - Method in class org.wildfly.service.Installer.AbstractUnaryBuilder
- asActive() - Method in class org.wildfly.service.Installer.AbstractBuilder
- asActive() - Method in interface org.wildfly.service.Installer.Builder
-
Configures the installed service to start immediately after installation, forcing any dependencies to start.
- asPassive() - Method in class org.wildfly.service.Installer.AbstractBuilder
- asPassive() - Method in interface org.wildfly.service.Installer.Builder
-
Configures the installed service to automatically start when all of its dependencies are available and to automatically stop when any of its dependencies are no longer available.
- asType(Class<U>) - Method in interface org.wildfly.service.descriptor.BinaryServiceDescriptor
- asType(Class<U>) - Method in interface org.wildfly.service.descriptor.NullaryServiceDescriptor
- asType(Class<U>) - Method in interface org.wildfly.service.descriptor.QuaternaryServiceDescriptor
- asType(Class<U>) - Method in interface org.wildfly.service.descriptor.ServiceDescriptor
-
Returns a sub-class view of this service descriptor.
- asType(Class<U>) - Method in interface org.wildfly.service.descriptor.TernaryServiceDescriptor
- asType(Class<U>) - Method in interface org.wildfly.service.descriptor.UnaryServiceDescriptor
- async() - Method in interface org.wildfly.service.Installer.AsyncBuilder
-
Indicates that the installed service should start and, if a stop task is configured, stop asynchronously.
- async(Supplier<Executor>) - Method in interface org.wildfly.service.ServiceInstaller.AsyncBuilder
-
Indicates that the installed service should start and, if a stop task was specified, stop asynchronously.
- async(Supplier<Executor>) - Method in class org.wildfly.service.ServiceInstaller.DefaultNullaryBuilder
- async(Supplier<Executor>) - Method in class org.wildfly.service.ServiceInstaller.DefaultUnaryBuilder
- AsyncServiceBuilder<T> - Class in org.wildfly.service
-
A
ServiceBuilderdecorator whose installedServicewill start and/or stop asynchronously. - AsyncServiceBuilder(ServiceBuilder<T>, Supplier<Executor>) - Constructor for class org.wildfly.service.AsyncServiceBuilder
-
Decorates a service builder transparently applying asynchronous start/stop semantics.
- AsyncServiceBuilder(ServiceBuilder<T>, Supplier<Executor>, AsyncServiceBuilder.Async) - Constructor for class org.wildfly.service.AsyncServiceBuilder
-
Decorates a service builder transparently applying asynchronous start/stop semantics.
- AsyncServiceBuilder.Async - Enum in org.wildfly.service
-
Enumerates the
Servicemethods that should execute asynchronously.
B
- BinaryServiceDescriptor<T> - Interface in org.wildfly.service.descriptor
-
Describes a service by its name, provided value type, and dynamic name resolution mechanism.
- BinaryServiceDescriptor.Provider<T> - Interface in org.wildfly.service.descriptor
-
Provides a two segment service descriptor.
- build() - Method in interface org.wildfly.service.Installer.Builder
-
Builds a service installer.
- build() - Method in class org.wildfly.service.ServiceInstaller.DefaultNullaryBuilder
- build() - Method in class org.wildfly.service.ServiceInstaller.DefaultUnaryBuilder
- builder() - Method in class org.wildfly.service.Installer.AbstractBuilder
- builder() - Method in class org.wildfly.service.ServiceInstaller.DefaultNullaryBuilder
- builder() - Method in class org.wildfly.service.ServiceInstaller.DefaultUnaryBuilder
- builder(Runnable, Runnable) - Static method in interface org.wildfly.service.ServiceInstaller
-
Returns a
ServiceInstallerbuilder that executes the specified tasks onService.start(StartContext)andService.stop(StopContext), respectively. - builder(Function<T, V>, Supplier<T>) - Static method in interface org.wildfly.service.ServiceInstaller
-
Returns a
ServiceInstallerbuilder whose installed service provides the value supplied by the specified factory and mapping function. - builder(Supplier<V>) - Static method in interface org.wildfly.service.ServiceInstaller
-
Returns a
ServiceInstallerbuilder whose installed service provides the value supplied by the specified factory. - builder(ServiceDependency<V>) - Static method in interface org.wildfly.service.ServiceInstaller
-
Returns a
ServiceInstallerbuilder whose installed service provides the value supplied by the specified dependency. - builder(ServiceInstaller) - Static method in interface org.wildfly.service.ServiceInstaller
-
Returns a
ServiceInstallerbuilder that installs the specified installer into a child target. - builder(V) - Static method in interface org.wildfly.service.ServiceInstaller
-
Returns a
ServiceInstallerbuilder whose installed service provides the specified value.
C
- capture(ServiceName) - Method in interface org.wildfly.service.capture.ServiceValueRegistry
-
Creates a service installer to capture and release the value provided by the specified service dependency.
D
- DefaultDependency(ServiceName) - Constructor for class org.wildfly.service.Dependency.DefaultDependency
- DefaultInstaller(Installer.Configuration<SB, DSB>, Function<ST, SB>) - Constructor for class org.wildfly.service.Installer.DefaultInstaller
- Dependency<B extends org.jboss.msc.service.ServiceBuilder<?>,V> - Interface in org.wildfly.service
-
Encapsulates logic for registering a value providing dependency with a service builder.
- Dependency.AbstractDependency<B extends org.jboss.msc.service.ServiceBuilder<?>,V> - Class in org.wildfly.service
- Dependency.DefaultDependency<B extends org.jboss.msc.service.ServiceBuilder<?>,V> - Class in org.wildfly.service
- Dependency.SimpleDependency<B extends org.jboss.msc.service.ServiceBuilder<?>,V> - Class in org.wildfly.service
E
- equals(Object) - Method in class org.wildfly.service.Dependency.DefaultDependency
- execute(ExceptionFunction<V, R, E>) - Method in interface org.wildfly.service.capture.FunctionExecutor
-
Executes the given function.
F
- FunctionExecutor<V> - Interface in org.wildfly.service.capture
-
Encapsulates execution of a single argument function.
- FunctionExecutorRegistry<K,V> - Interface in org.wildfly.service.capture
-
Registry of
FunctionExecutorobjects.
G
- get() - Method in class org.wildfly.service.Dependency.AbstractDependency
- get() - Method in class org.wildfly.service.Dependency.SimpleDependency
- getDependency() - Method in class org.wildfly.service.Installer.AbstractBuilder
- getDependency() - Method in interface org.wildfly.service.Installer.Configuration
-
Returns the dependency of this service
- getExecutor(K) - Method in interface org.wildfly.service.capture.FunctionExecutorRegistry
-
Returns the executor for the specified key.
- getInitialMode() - Method in class org.wildfly.service.Installer.AbstractBuilder
- getInitialMode() - Method in interface org.wildfly.service.Installer.Configuration
-
Returns the initial mode of the installed service.
- getName() - Method in interface org.wildfly.service.descriptor.ServiceDescriptor
-
Returns the name of this described service.
- getName() - Method in interface org.wildfly.service.descriptor.ServiceDescriptor.Provider
- getServiceFactory() - Method in class org.wildfly.service.Installer.AbstractNullaryBuilder
- getServiceFactory() - Method in class org.wildfly.service.Installer.AbstractUnaryBuilder
- getServiceFactory() - Method in interface org.wildfly.service.Installer.Configuration
-
Returns the factory of this service
- getType() - Method in interface org.wildfly.service.descriptor.ServiceDescriptor
-
Returns the provided value type of this described service.
- getType() - Method in interface org.wildfly.service.descriptor.ServiceDescriptor.Provider
H
- hashCode() - Method in class org.wildfly.service.Dependency.DefaultDependency
- hasStopTask() - Method in class org.wildfly.service.Installer.AbstractUnaryBuilder
I
- install(ST) - Method in class org.wildfly.service.Installer.DefaultInstaller
- install(ST) - Method in interface org.wildfly.service.Installer
-
Installs a service into the specified target.
- Installer<ST extends org.jboss.msc.service.ServiceTarget> - Interface in org.wildfly.service
-
Encapsulates installation into a generic service target.
- Installer.AbstractBuilder<B,I extends Installer<ST>,ST extends org.jboss.msc.service.ServiceTarget,SB extends DSB,DSB extends org.jboss.msc.service.ServiceBuilder<?>> - Class in org.wildfly.service
- Installer.AbstractNullaryBuilder<B,I extends Installer<ST>,ST extends org.jboss.msc.service.ServiceTarget,SB extends DSB,DSB extends org.jboss.msc.service.ServiceBuilder<?>> - Class in org.wildfly.service
- Installer.AbstractUnaryBuilder<B,I extends Installer<ST>,ST extends org.jboss.msc.service.ServiceTarget,SB extends DSB,DSB extends org.jboss.msc.service.ServiceBuilder<?>,T,V> - Class in org.wildfly.service
- Installer.AsyncBuilder<B> - Interface in org.wildfly.service
-
Implemented by builds with asynchronous service support.
- Installer.Builder<B,I extends Installer<ST>,ST extends org.jboss.msc.service.ServiceTarget,SB extends org.jboss.msc.service.ServiceBuilder<?>> - Interface in org.wildfly.service
-
Builds an installer of a service.
- Installer.Configuration<SB extends DSB,DSB extends org.jboss.msc.service.ServiceBuilder<?>> - Interface in org.wildfly.service
-
Encapsulates the configuration of an
Installer. - Installer.DefaultInstaller<ST extends org.jboss.msc.service.ServiceTarget,SB extends DSB,DSB extends org.jboss.msc.service.ServiceBuilder<?>> - Class in org.wildfly.service
-
Generic abstract installer implementation that installs a
Installer.UnaryService. - Installer.UnaryBuilder<B,I extends Installer<ST>,ST extends org.jboss.msc.service.ServiceTarget,SB extends org.jboss.msc.service.ServiceBuilder<?>,T,V> - Interface in org.wildfly.service
-
Builds an installer of a service providing a single value.
- Installer.UnaryService<T,V> - Class in org.wildfly.service
M
- map(Function<V, R>) - Method in interface org.wildfly.service.Dependency
- map(Function<V, R>) - Method in interface org.wildfly.service.ServiceDependency
N
- newInstance() - Static method in interface org.wildfly.service.capture.ServiceValueExecutorRegistry
-
Creates a new
ServiceValueExecutorRegistry. - newInstance() - Static method in interface org.wildfly.service.capture.ValueExecutorRegistry
-
Creates a new registry of values.
- NullaryServiceDescriptor<T> - Interface in org.wildfly.service.descriptor
-
Describes a service by its name, provided value type, and name resolution mechanism.
- NullaryServiceDescriptor.Provider<T> - Interface in org.wildfly.service.descriptor
-
Provides a zero segment service descriptor.
O
- of(String, Class<T>) - Static method in interface org.wildfly.service.descriptor.BinaryServiceDescriptor
-
Creates a binary service descriptor with the specified name and type.
- of(String, Class<T>) - Static method in interface org.wildfly.service.descriptor.NullaryServiceDescriptor
-
Creates a service descriptor with the specified name and type
- of(String, Class<T>) - Static method in interface org.wildfly.service.descriptor.QuaternaryServiceDescriptor
-
Creates a quaternary service descriptor with the specified name and type.
- of(String, Class<T>) - Static method in interface org.wildfly.service.descriptor.TernaryServiceDescriptor
-
Creates a ternary service descriptor with the specified name and type.
- of(String, Class<T>) - Static method in interface org.wildfly.service.descriptor.UnaryServiceDescriptor
-
Creates a unary service descriptor with the specified name and type.
- of(String, BinaryServiceDescriptor<T>) - Static method in interface org.wildfly.service.descriptor.TernaryServiceDescriptor
-
Creates a ternary service descriptor with the specified name and default service descriptor.
- of(String, NullaryServiceDescriptor<T>) - Static method in interface org.wildfly.service.descriptor.UnaryServiceDescriptor
-
Creates a unary service descriptor with the specified name and default service descriptor.
- of(String, TernaryServiceDescriptor<T>) - Static method in interface org.wildfly.service.descriptor.QuaternaryServiceDescriptor
-
Creates a quaternary service descriptor with the specified name and default service descriptor.
- of(String, UnaryServiceDescriptor<T>) - Static method in interface org.wildfly.service.descriptor.BinaryServiceDescriptor
-
Creates a binary service descriptor with the specified name and default descriptor.
- of(Supplier<V>) - Static method in interface org.wildfly.service.capture.FunctionExecutor
-
Creates a function executor from the specified argument supplier.
- of(V) - Static method in interface org.wildfly.service.ServiceDependency
-
Returns a pseudo-dependency supplying a fixed value.
- on(ServiceName) - Static method in interface org.wildfly.service.ServiceDependency
-
Returns a dependency on the service with the specified name.
- onStart(Consumer<T>) - Method in class org.wildfly.service.Installer.AbstractUnaryBuilder
- onStart(Consumer<T>) - Method in interface org.wildfly.service.Installer.UnaryBuilder
-
Configures a task to run on
Service.start(org.jboss.msc.service.StartContext). - onStop(Consumer<T>) - Method in class org.wildfly.service.Installer.AbstractUnaryBuilder
- onStop(Consumer<T>) - Method in interface org.wildfly.service.Installer.UnaryBuilder
-
Configures a task to run on
Service.stop(org.jboss.msc.service.StopContext). - org.wildfly.service - package org.wildfly.service
- org.wildfly.service.capture - package org.wildfly.service.capture
- org.wildfly.service.descriptor - package org.wildfly.service.descriptor
P
- provides(ServiceName) - Method in class org.wildfly.service.Installer.AbstractUnaryBuilder
- provides(ServiceName) - Method in interface org.wildfly.service.Installer.UnaryBuilder
-
Configures a service name provided by this service.
Q
- QuaternaryServiceDescriptor<T> - Interface in org.wildfly.service.descriptor
-
Describes a service by its name, provided value type, and dynamic name resolution mechanism.
- QuaternaryServiceDescriptor.Provider<T> - Interface in org.wildfly.service.descriptor
-
Provides a four segment service descriptor.
R
- remove(K) - Method in interface org.wildfly.service.capture.ValueRegistry
-
Removes the registration for the specified key
- requires(Iterable<? extends Consumer<SB>>) - Method in interface org.wildfly.service.Installer.Builder
-
Configures dependencies of the installed service.
- requires(Consumer<DSB>) - Method in class org.wildfly.service.Installer.AbstractBuilder
- requires(Consumer<SB>) - Method in interface org.wildfly.service.Installer.Builder
-
Configures a dependency of the installed service.
- resolve() - Method in interface org.wildfly.service.descriptor.NullaryServiceDescriptor.Provider
- resolve() - Method in interface org.wildfly.service.descriptor.NullaryServiceDescriptor
-
Resolves the constant name of the service.
- resolve(String) - Method in interface org.wildfly.service.descriptor.UnaryServiceDescriptor.Provider
- resolve(String) - Method in interface org.wildfly.service.descriptor.UnaryServiceDescriptor
-
Resolves the dynamic name of the service using the specified segment.
- resolve(String, String) - Method in interface org.wildfly.service.descriptor.BinaryServiceDescriptor.Provider
- resolve(String, String) - Method in interface org.wildfly.service.descriptor.BinaryServiceDescriptor
-
Resolves the dynamic name of the service using the specified segments.
- resolve(String, String, String) - Method in interface org.wildfly.service.descriptor.TernaryServiceDescriptor.Provider
- resolve(String, String, String) - Method in interface org.wildfly.service.descriptor.TernaryServiceDescriptor
-
Resolves the dynamic name the service using the specified segments.
- resolve(String, String, String, String) - Method in interface org.wildfly.service.descriptor.QuaternaryServiceDescriptor.Provider
- resolve(String, String, String, String) - Method in interface org.wildfly.service.descriptor.QuaternaryServiceDescriptor
-
Resolves the dynamic name the service using the specified segments.
S
- ServiceDependency<V> - Interface in org.wildfly.service
-
Encapsulates a dependency on a service value.
- ServiceDependency.DefaultServiceDependency<V> - Class in org.wildfly.service
- ServiceDependency.SimpleServiceDependency<V> - Class in org.wildfly.service
- ServiceDescriptor<T> - Interface in org.wildfly.service.descriptor
-
Describes a service by its name and provided value type.
- ServiceDescriptor.Provider<T,SD extends ServiceDescriptor<T>> - Interface in org.wildfly.service.descriptor
-
Provides a service descriptor.
- ServiceInstaller - Interface in org.wildfly.service
-
Encapsulates service installation into a
ServiceTarget. - ServiceInstaller.AsyncBuilder<B> - Interface in org.wildfly.service
-
Implemented by builds with asynchronous service support.
- ServiceInstaller.Builder - Interface in org.wildfly.service
-
Builds a
ServiceInstaller. - ServiceInstaller.DefaultNullaryBuilder - Class in org.wildfly.service
- ServiceInstaller.DefaultServiceInstaller - Class in org.wildfly.service
- ServiceInstaller.DefaultUnaryBuilder<T,V> - Class in org.wildfly.service
- ServiceInstaller.UnaryBuilder<T,V> - Interface in org.wildfly.service
-
Builds a
ServiceInstallerwhose service provides a single value. - ServiceValueExecutorRegistry<V> - Interface in org.wildfly.service.capture
-
A registry of captured values.
- ServiceValueRegistry<V> - Interface in org.wildfly.service.capture
-
A registry of service values, keyed by
ServiceName. - setInstance(Service) - Method in class org.wildfly.service.AsyncServiceBuilder
- SimpleDependency(V) - Constructor for class org.wildfly.service.Dependency.SimpleDependency
- start(StartContext) - Method in class org.wildfly.service.Installer.UnaryService
- START_AND_STOP - org.wildfly.service.AsyncServiceBuilder.Async
- START_ONLY - org.wildfly.service.AsyncServiceBuilder.Async
- stop(StopContext) - Method in class org.wildfly.service.Installer.UnaryService
- STOP_ONLY - org.wildfly.service.AsyncServiceBuilder.Async
T
- TernaryServiceDescriptor<T> - Interface in org.wildfly.service.descriptor
-
Describes a service by its name, provided value type, and dynamic name resolution mechanism.
- TernaryServiceDescriptor.Provider<T> - Interface in org.wildfly.service.descriptor
-
Provides a three segment service descriptor.
- toString() - Method in class org.wildfly.service.Dependency.DefaultDependency
U
- UnaryServiceDescriptor<T> - Interface in org.wildfly.service.descriptor
-
Describes a service by its name, provided value type, and dynamic name resolution mechanism.
- UnaryServiceDescriptor.Provider<T> - Interface in org.wildfly.service.descriptor
-
Provides a one segment service descriptor.
V
- ValueExecutorRegistry<K,V> - Interface in org.wildfly.service.capture
-
A registry of captured values.
- valueOf(String) - Static method in enum org.wildfly.service.AsyncServiceBuilder.Async
-
Returns the enum constant of this type with the specified name.
- ValueRegistry<K,V> - Interface in org.wildfly.service.capture
-
A registry of values.
- values() - Static method in enum org.wildfly.service.AsyncServiceBuilder.Async
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withCaptor(Consumer<V>) - Method in class org.wildfly.service.Installer.AbstractUnaryBuilder
- withCaptor(Consumer<V>) - Method in interface org.wildfly.service.Installer.UnaryBuilder
-
Configures a captor invoked with the service value on
Service.start(org.jboss.msc.service.StartContext), and with null onService.stop(StopContext).
All Classes All Packages