|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.discovery.ServiceDiscoveryFactory
Factory for implementations of ServiceDiscovery interface.
Constructor Summary | |
ServiceDiscoveryFactory()
|
Method Summary | |
static ServiceDiscovery |
create()
Creates an instance of the ServiceDiscovery interface using a class defined by the sd.class system property. |
static ServiceDiscovery |
create(java.lang.String className)
Creates an instance of the ServiceDiscovery interface using the specified class name. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServiceDiscoveryFactory()
Method Detail |
public static ServiceDiscovery create() throws ServiceDiscoveryException
ServiceDiscoveryException
- If the instance can not be created.public static ServiceDiscovery create(java.lang.String className) throws ServiceDiscoveryException
className
- Name of implementation class to instantiate.
ServiceDiscoveryException
- If the instance can not be created.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |