org.jboss.kernel.plugins.dependency
Class DefaultMatcherFactory
java.lang.Object
org.jboss.kernel.api.dependency.MatcherFactory
org.jboss.kernel.plugins.dependency.DefaultMatcherFactory
- All Implemented Interfaces:
- MatcherTransformer
public class DefaultMatcherFactory
- extends MatcherFactory
- implements MatcherTransformer
Default Matcher factory.
- Author:
- Ales Justin
Field Summary |
protected org.jboss.logging.Logger |
log
The log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected org.jboss.logging.Logger log
- The log
DefaultMatcherFactory
public DefaultMatcherFactory()
addMatcherTransfomer
public void addMatcherTransfomer(String key,
MatcherTransformer transformer)
- Description copied from class:
MatcherFactory
- Add matcher transfomer.
- Specified by:
addMatcherTransfomer
in class MatcherFactory
- Parameters:
key
- the keytransformer
- the transfomer
createMatcher
public Matcher createMatcher(String transformer,
Object value)
- Create the Matcher.
- Specified by:
createMatcher
in class MatcherFactory
- Parameters:
transformer
- the transformervalue
- the value to wrap
- Returns:
- new Matcher instance
transform
public Matcher transform(Object value)
- Description copied from interface:
MatcherTransformer
- Transform value param to Matcher instance.
- Specified by:
transform
in interface MatcherTransformer
- Parameters:
value
- the value
- Returns:
- Matcher instance
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.