| Package | Description |
|---|---|
| org.jboss.as.controller.capability |
| Modifier and Type | Method and Description |
|---|---|
RuntimeCapability.Builder<T> |
RuntimeCapability.Builder.addDynamicOptionalRequirements(String... requirements)
Adds the the names of other dynamically named capabilities upon a concrete instance of which this
capability will have an optional requirement once the full name is known
|
RuntimeCapability.Builder<T> |
RuntimeCapability.Builder.addDynamicRequirements(String... requirements)
Adds the the names of other dynamically named capabilities upon a concrete instance of which this
capability will have a hard requirement once the full name is known
|
RuntimeCapability.Builder<T> |
RuntimeCapability.Builder.addOptionalRequirements(String... requirements)
Adds the names of other capabilities that this capability optionally requires.
|
RuntimeCapability.Builder<T> |
RuntimeCapability.Builder.addRequirements(String... requirements)
Adds the names of other capabilities that this capability requires.
|
RuntimeCapability.Builder<T> |
RuntimeCapability.Builder.addRuntimeOnlyRequirements(String... requirements)
Adds the names of other capabilities that this capability optionally uses,
but only if they are present in the runtime.
|
static RuntimeCapability.Builder<Void> |
RuntimeCapability.Builder.of(String name)
Create a builder for a non-dynamic capability with no custom runtime API.
|
static RuntimeCapability.Builder<Void> |
RuntimeCapability.Builder.of(String name,
boolean dynamic)
Create a builder for a possibly dynamic capability with no custom runtime API.
|
static RuntimeCapability.Builder<Void> |
RuntimeCapability.Builder.of(String name,
boolean dynamic,
Class<?> serviceType)
Create a builder for a possibly dynamic capability that installs services with the given value type.
|
static <T> RuntimeCapability.Builder<T> |
RuntimeCapability.Builder.of(String name,
boolean dynamic,
T runtimeAPI)
Create a builder for a possibly dynamic capability that provides the given custom runtime API.
|
static RuntimeCapability.Builder<Void> |
RuntimeCapability.Builder.of(String name,
Class<?> serviceType)
Create a builder for a non-dynamic capability that installs services with the given value type.
|
static <T> RuntimeCapability.Builder<T> |
RuntimeCapability.Builder.of(String name,
T runtimeAPI)
Create a builder for a non-dynamic capability that provides the given custom runtime API.
|
RuntimeCapability.Builder<T> |
RuntimeCapability.Builder.setServiceNameProvider(ServiceNameProvider provider)
Sets the provider of service type to service name mappings that the capability should use.
|
RuntimeCapability.Builder<T> |
RuntimeCapability.Builder.setServiceType(Class<?> type)
Sets that the capability installs services with the given value type and that a
default service name provider
should be used by the capability. |
Copyright © 2015 JBoss by Red Hat. All rights reserved.