com.neeve.toa
Class DefaultServiceDefinitionLocator

java.lang.Object
  extended by com.neeve.toa.spi.AbstractServiceDefinitionLocator
      extended by 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:

This locator will return any xml file found in the above locations that xml that validates against the service definition schema x-tsml.xsd.


Field Summary
 
Fields inherited from class com.neeve.toa.spi.AbstractServiceDefinitionLocator
tracer
 
Constructor Summary
DefaultServiceDefinitionLocator()
           
 
Method Summary
 void locateServices(Set<URL> urls)
          Locates service definition xml and adds the xml to provided set.
 
Methods inherited from class com.neeve.toa.spi.AbstractServiceDefinitionLocator
isServiceDefinitionFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultServiceDefinitionLocator

public DefaultServiceDefinitionLocator()
Method Detail

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.