java.lang.Object
org.jboss.as.clustering.controller.SimpleCapabilityNameResolver
- All Implemented Interfaces:
Function<org.jboss.as.controller.PathAddress,String[]>
public class SimpleCapabilityNameResolver
extends Object
implements Function<org.jboss.as.controller.PathAddress,String[]>
Dynamic name mapper that uses a static mapping.
- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors
-
Method Summary
apply(org.jboss.as.controller.PathAddress address)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
EMPTY
public static final Function<org.jboss.as.controller.PathAddress,String[]> EMPTY
-
Constructor Details
-
SimpleCapabilityNameResolver
public SimpleCapabilityNameResolver(String... names)
-
Method Details
-
apply
public String[] apply(org.jboss.as.controller.PathAddress address)
- Specified by:
apply in interface Function<org.jboss.as.controller.PathAddress,String[]>