com.neeve.toa.spi
Class AbstractServiceDefinitionLocator
java.lang.Object
com.neeve.toa.spi.AbstractServiceDefinitionLocator
- All Implemented Interfaces:
- ServiceDefinitionLocator
- Direct Known Subclasses:
- DefaultServiceDefinitionLocator
public abstract class AbstractServiceDefinitionLocator
- extends Object
- implements ServiceDefinitionLocator
A base class for ServiceDefinitionLocators.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tracer
protected static final Tracer tracer
AbstractServiceDefinitionLocator
public AbstractServiceDefinitionLocator()
validateServiceDefinitionFile
public static final void validateServiceDefinitionFile(URL url)
throws ToaException
- Tests if the given URL represents a valid x-tsml service defintion.
- Parameters:
url - The url to test.
- Throws:
ToaException - If the provided url doesn't contain a parseable service definition.
isServiceDefinitionFile
public static final boolean isServiceDefinitionFile(URL url)
- Tests if the given URL represents a valid x-tsml service defintion.
- Parameters:
url - The url to test.
- Returns:
- true if valid, false otherwise.
Copyright © 2016 Neeve Research, LLC. All Rights Reserved.