org.apache.commons.discovery.ant
Class ServiceDiscoveryTask

java.lang.Object
  |
  +--org.apache.commons.discovery.ant.ServiceDiscoveryTask

public class ServiceDiscoveryTask
extends java.lang.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

Constructor Summary
ServiceDiscoveryTask()
           
 
Method Summary
 void execute()
           
 java.lang.String[] getServiceInfo()
           
 void setDebug(int i)
           
 void setServiceName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceDiscoveryTask

public ServiceDiscoveryTask()
Method Detail

setServiceName

public void setServiceName(java.lang.String name)

setDebug

public void setDebug(int i)

getServiceInfo

public java.lang.String[] getServiceInfo()

execute

public void execute()
             throws java.lang.Exception


Copyright (c) 2002 - Apache Software Foundation