org.apache.commons.modeler.ant
Class ServiceTask
Task
org.apache.commons.modeler.ant.ServiceTask
public class ServiceTask
extends Task
Group a set of mbeans in a service, and perform actions on
it.
(package private) String | action
|
private static Log | log
|
(package private) List | mbeans
|
(package private) String | refId
|
action
(package private) String action
log
private static Log log
mbeans
(package private) List mbeans
refId
(package private) String refId
ServiceTask
public ServiceTask()
addMbean
public void addMbean(MLETTask mbean)
execute
public void execute()
throws BuildException
getMbeans
public List getMbeans()
setAction
public void setAction(String action)
Set action to be executed on the mbean collection.
If null - we'll perform init and start.
setRefId
public void setRefId(String ref)
Perform the action on a previously declared service
Copyright (c) 2001-2003 - Apache Software Foundation