Home » commons-modeler-2.0.1-src » org.apache.commons » modeler » ant » [javadoc | source]
org.apache.commons.modeler.ant
public class: ServiceTask [javadoc | source]
java.lang.Object
   org.apache.tools.ant.ProjectComponent
      org.apache.tools.ant.Task
         org.apache.commons.modeler.ant.ServiceTask

All Implemented Interfaces:
    Cloneable

Group a set of mbeans in a service, and perform actions on it.
Field Summary
 List mbeans     
 String action     
 String refId     
Constructor:
 public ServiceTask() 
Method from org.apache.commons.modeler.ant.ServiceTask Summary:
addMbean,   execute,   getMbeans,   setAction,   setRefId
Methods from org.apache.tools.ant.Task:
bindToOwner,   execute,   getOwningTarget,   getRuntimeConfigurableWrapper,   getTaskName,   getTaskType,   init,   log,   log,   log,   log,   maybeConfigure,   perform,   reconfigure,   setOwningTarget,   setRuntimeConfigurableWrapper,   setTaskName,   setTaskType
Methods from org.apache.tools.ant.ProjectComponent:
clone,   getDescription,   getLocation,   getProject,   log,   log,   setDescription,   setLocation,   setProject
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.modeler.ant.ServiceTask Detail:
 public  void addMbean(MLETTask mbean) 
 public  void execute() throws BuildException 
 public List getMbeans() 
 public  void setAction(String action) 
    Set action to be executed on the mbean collection. If null - we'll perform init and start.
 public  void setRefId(String ref) 
    Perform the action on a previously declared service