Package org.wildfly.service
Interface Installer.Configuration<SB extends DSB,DSB extends ServiceBuilder<?>>
- Type Parameters:
SB- the service builder typeDSB- the dependency service builder typeT- the source value typeV- the service value type
- All Known Implementing Classes:
CapabilityServiceInstaller.DefaultBuilder,Installer.AbstractBuilder,Installer.AbstractNullaryBuilder,Installer.AbstractUnaryBuilder,ServiceInstaller.DefaultNullaryBuilder,ServiceInstaller.DefaultNullaryBuilder,ServiceInstaller.DefaultUnaryBuilder,ServiceInstaller.DefaultUnaryBuilder
- Enclosing interface:
- Installer<ST extends ServiceTarget>
public static interface Installer.Configuration<SB extends DSB,DSB extends ServiceBuilder<?>>
Encapsulates the configuration of an
Installer.-
Method Summary
Modifier and TypeMethodDescriptionReturns the dependency of this serviceReturns the initial mode of the installed service.Returns tasks to be run per lifecycle event.Returns the factory of this service
-
Method Details
-
getInitialMode
ServiceController.Mode getInitialMode()Returns the initial mode of the installed service.- Returns:
- a service mode
-
getDependency
Returns the dependency of this service- Returns:
- a service dependency
-
getServiceFactory
Returns the factory of this service- Returns:
- a service factory
-
getLifecycleTasks
Map<LifecycleEvent,Collection<Runnable>> getLifecycleTasks()Returns tasks to be run per lifecycle event. The returned map is either fully populated, or an empty map, if this service has no lifecycle tasks.- Returns:
- a potentially empty map of tasks to be run per lifecycle event.
-