public class ServiceDiscoveryTask
extends java.lang.Object
Constructor and Description |
---|
ServiceDiscoveryTask() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes the Apache Ant task, discovering the set service name
|
java.lang.String[] |
getServiceInfo()
Returns the discovered SPIs name.
|
void |
setDebug(int i)
Sets the debug level.
|
void |
setServiceName(java.lang.String name)
Sets the service name has to be discovered.
|
public void setServiceName(java.lang.String name)
name
- The service name has to be discovered.public void setDebug(int i)
i
- The debug levelpublic java.lang.String[] getServiceInfo()
public void execute() throws java.lang.Exception
java.lang.Exception
- if any error occursCopyright (c) 2002 - Apache Software Foundation