Class MLETTask

  • All Implemented Interfaces:
    Cloneable
    Direct Known Subclasses:
    ModelerTask

    public class MLETTask
    extends org.apache.tools.ant.Task
    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.
    • Constructor Detail

      • MLETTask

        public MLETTask()
    • Method Detail

      • addArg

        public void addArg​(Arg arg)
      • addAttribute

        public void addAttribute​(JmxSet arg)
      • setCode

        public void setCode​(String code)
      • setArchive

        public void setArchive​(String archive)
      • setCodebase

        public void setCodebase​(String codebase)
      • setName

        public void setName​(String name)
      • setModeler

        public void setModeler​(boolean modeler)
      • getObjectName

        public ObjectName getObjectName()
      • execute

        public void execute()
                     throws org.apache.tools.ant.BuildException
        Overrides:
        execute in class org.apache.tools.ant.Task
        Throws:
        org.apache.tools.ant.BuildException