org.apache.commons.modeler.ant

Class MLETTask

public class MLETTask extends 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 Summary
MLETTask()
Method Summary
voidaddArg(Arg arg)
voidaddAttribute(JmxSet arg)
protected voidbindJmx(String objectName, String code, String arg0, List args)
voidexecute()
MBeanServergetMBeanServer()
ObjectNamegetObjectName()
voidsetArchive(String archive)
voidsetCode(String code)
voidsetCodebase(String codebase)
voidsetModeler(boolean modeler)
voidsetName(String name)

Constructor Detail

MLETTask

public MLETTask()

Method Detail

addArg

public void addArg(Arg arg)

addAttribute

public void addAttribute(JmxSet arg)

bindJmx

protected void bindJmx(String objectName, String code, String arg0, List args)

execute

public void execute()

getMBeanServer

public MBeanServer getMBeanServer()

getObjectName

public ObjectName getObjectName()

setArchive

public void setArchive(String archive)

setCode

public void setCode(String code)

setCodebase

public void setCodebase(String codebase)

setModeler

public void setModeler(boolean modeler)

setName

public void setName(String name)
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.