|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.extensibility.ContextClassLoaderServiceDiscoverer
public class ContextClassLoaderServiceDiscoverer
A ServiceDiscoverer that find META-INF/services/... using the Context ClassLoader.
Nested Class Summary | |
---|---|
class |
ContextClassLoaderServiceDiscoverer.ServiceDeclarationImpl
|
Constructor Summary | |
---|---|
ContextClassLoaderServiceDiscoverer()
|
Method Summary | |
---|---|
java.util.Set<ServiceDeclaration> |
discover(java.lang.String serviceName,
boolean firstOnly)
Discover the service descriptors by name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextClassLoaderServiceDiscoverer()
Method Detail |
---|
public java.util.Set<ServiceDeclaration> discover(java.lang.String serviceName, boolean firstOnly)
ServiceDiscoverer
discover
in interface ServiceDiscoverer
serviceName
- The name of the servicefirstOnly
- A flag to indicate if only the first instance is to be discovered
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |