org.apache.commons.discovery.ant
Class ServiceDiscoveryTask
java.lang.Object
org.apache.commons.discovery.ant.ServiceDiscoveryTask
public class ServiceDiscoveryTask
- extends Object
Small ant task that will use discovery to locate a particular impl.
and display all values.
You can execute this and save it with an id, then other classes can use it.
- Author:
- Costin Manolache
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceDiscoveryTask
public ServiceDiscoveryTask()
setServiceName
public void setServiceName(String name)
setDebug
public void setDebug(int i)
getServiceInfo
public String[] getServiceInfo()
execute
public void execute()
throws Exception
- Throws:
Exception
Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.