| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.spi.Service
public class Service
ANT Jar-Task SPI extension
| Field Summary | 
|---|
| Fields inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
| description, location, project | 
| Constructor Summary | |
|---|---|
| Service() | |
| Method Summary | |
|---|---|
|  void | addConfiguredProvider(Provider provider)Add a nested provider element. | 
|  void | check()Check if this object is configured correctly as a nested element. | 
|  java.io.InputStream | getAsStream()Return the implementations of this services as an inputstream. | 
|  java.lang.String | getType() | 
|  void | setProvider(java.lang.String className)Set the provider classname. | 
|  void | setType(java.lang.String type)Set the service type. | 
| Methods inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
| clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public Service()
| Method Detail | 
|---|
public void setProvider(java.lang.String className)
className - the classname of a provider of this service.public void addConfiguredProvider(Provider provider)
provider - a provider element.public java.lang.String getType()
public void setType(java.lang.String type)
type - the service type, a classname of
             an interface or a class (normally
             abstract).
public java.io.InputStream getAsStream()
                                throws java.io.IOException
java.io.IOException - if there is an error.public void check()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||