public interface TransformationTarget
Modifier and Type | Interface and Description |
---|---|
static interface |
TransformationTarget.IgnoredTransformationRegistry
Provides information to a
TransformationTarget indicating that a resource
with the given address does not need
resource transformation
or operation transformation
because the resource is ignored on the target. |
static class |
TransformationTarget.TransformationTargetType |
Modifier and Type | Method and Description |
---|---|
void |
addSubsystemVersion(String subsystemName,
int majorVersion,
int minorVersion)
Add version information for a subsystem.
|
void |
addSubsystemVersion(String subsystemName,
ModelVersion version)
Add version information for a subsystem.
|
ExtensionRegistry |
getExtensionRegistry()
Get the extension registry.
|
String |
getHostName()
Get the name of the host we are talking to
|
List<PathAddressTransformer> |
getPathTransformation(PathAddress address)
Get path transformations.
|
ModelVersion |
getSubsystemVersion(String subsystemName)
Get the subsystem version.
|
TransformationTarget.TransformationTargetType |
getTargetType()
Get the type of the target.
|
TransformerEntry |
getTransformerEntry(TransformationContext context,
PathAddress address)
Get the transformer entry.
|
ModelVersion |
getVersion()
Get the version of this target.
|
boolean |
isIgnoredResourceListAvailableAtRegistration()
Gets whether this target can make its list of ignored resources known when it registers.
|
ResourceTransformer |
resolveTransformer(ResourceTransformationContext context,
PathAddress address)
Resolve a resource transformer for agiven address.
|
OperationTransformer |
resolveTransformer(TransformationContext context,
PathAddress address,
String operationName)
Resolve an operation transformer for a given address.
|
ModelVersion getVersion()
ModelVersion getSubsystemVersion(String subsystemName)
subsystemName
- the subsystem namenull
if it does not existTransformerEntry getTransformerEntry(TransformationContext context, PathAddress address)
context
- TODOaddress
- the path addressList<PathAddressTransformer> getPathTransformation(PathAddress address)
address
- the path addressResourceTransformer resolveTransformer(ResourceTransformationContext context, PathAddress address)
context
- TODOaddress
- the path addressOperationTransformer resolveTransformer(TransformationContext context, PathAddress address, String operationName)
context
- TODOaddress
- the addressoperationName
- the operation namevoid addSubsystemVersion(String subsystemName, int majorVersion, int minorVersion)
subsystemName
- the name of the subsystem. Cannot be null
majorVersion
- the major version of the subsystem's management APIminorVersion
- the minor version of the subsystem's management APIvoid addSubsystemVersion(String subsystemName, ModelVersion version)
subsystemName
- the subsystem nameversion
- the versionTransformationTarget.TransformationTargetType getTargetType()
ExtensionRegistry getExtensionRegistry()
String getHostName()
boolean isIgnoredResourceListAvailableAtRegistration()
true
if the target can provide the ignored resources list; false
if that is not supported.Copyright © 2013 JBoss by Red Hat. All rights reserved.