Rio Project 4.2 API Documentation
org.rioproject.opstring
Class DefaultOpStringParserSelectionStrategy
java.lang.Object
org.rioproject.opstring.DefaultOpStringParserSelectionStrategy
- All Implemented Interfaces:
- OpStringParserSelectionStrategy
public class DefaultOpStringParserSelectionStrategy
- extends Object
- implements OpStringParserSelectionStrategy
OpStringParserSelectionStrategy selecting either the XML or Groovy parser.
- Author:
- Dennis Reedy, Jerome Bernard
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultOpStringParserSelectionStrategy
public DefaultOpStringParserSelectionStrategy()
findParser
public OpStringParser findParser(Object source)
- Description copied from interface:
OpStringParserSelectionStrategy
- Selects an
OpStringParser based on
the source.
- Specified by:
findParser in interface OpStringParserSelectionStrategy
- Parameters:
source - either a local File or a URL
to the OpString deployment descriptor.
- Returns:
- the
OpStringParser which
should be used for the source
Copyright © 2006-2011 Rio Project. All Rights Reserved.