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

All Implemented Interfaces:
    Cloneable

Direct Known Subclasses:
    ModelerTask

Load an MBean. The syntax is similar with the , with few ant-specific extensions. A separate classloader can be used, the mechanism is similar with what taskdef is using. Note that mlet will use the arguments in the constructor.
Field Summary
 String code     
 String archive     
 String codebase     
 String objectName     
 ObjectName oname     
 List args     
 List attributes     
 String loaderRef     
 MBeanServer server     
 boolean modeler     
Constructor:
 public MLETTask() 
Method from org.apache.commons.modeler.ant.MLETTask Summary:
addArg,   addAttribute,   bindJmx,   execute,   getMBeanServer,   getObjectName,   setArchive,   setCode,   setCodebase,   setModeler,   setName
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.MLETTask Detail:
 public  void addArg(Arg arg) 
 public  void addAttribute(JmxSet arg) 
 protected  void bindJmx(String objectName,
    String code,
    String arg0,
    List args) throws Exception 
 public  void execute() throws BuildException 
 public MBeanServer getMBeanServer() 
 public ObjectName getObjectName() 
 public  void setArchive(String archive) 
 public  void setCode(String code) 
 public  void setCodebase(String codebase) 
 public  void setModeler(boolean modeler) 
 public  void setName(String name)