com.neeve.toa
Class DefaultServiceDefinitionLocator
java.lang.Object
com.neeve.toa.spi.AbstractServiceDefinitionLocator
com.neeve.toa.DefaultServiceDefinitionLocator
- All Implemented Interfaces:
- ServiceDefinitionLocator
public final class DefaultServiceDefinitionLocator
- extends AbstractServiceDefinitionLocator
Implements the default lookup strategy for services definition xml.
This ServiceDefinitionLocator
looks for services in the following locations:
- file://${NVROOT}/conf/services/*.xml
- file://${NVROOT}/resources/${application.name}/services/*.xml
- classpath://services/*.xml
This locator will return any xml file found in the above locations that xml that
validates against the service definition schema x-tsml.xsd.
Method Summary |
void |
locateServices(Set<URL> urls)
Locates service definition xml and adds the xml to provided
set. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultServiceDefinitionLocator
public DefaultServiceDefinitionLocator()
locateServices
public final void locateServices(Set<URL> urls)
throws Exception
- Description copied from interface:
ServiceDefinitionLocator
- Locates service definition xml and adds the xml to provided
set.
- Parameters:
urls
- The collection into which to add the service urls.
- Throws:
Exception
Copyright © 2016 Neeve Research, LLC. All Rights Reserved.