org.apache.servicemix.jbi.management.task
Class StopComponentTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.servicemix.jbi.management.task.JbiTask
              extended by org.apache.servicemix.jbi.management.task.StopComponentTask

public class StopComponentTask
extends JbiTask

Stop a Component

Version:
$Revision: 426415 $

Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
StopComponentTask()
           
 
Method Summary
 void doExecute(AdminCommandsServiceMBean acs)
          execute the task
 String getName()
           
 void setName(String name)
           
 
Methods inherited from class org.apache.servicemix.jbi.management.task.JbiTask
close, connect, execute, getAdminCommandsService, getContainerName, getHost, getJMXConnector, getJmxDomainName, getJndiPath, getObjectName, getPassword, getPort, getServerProtocol, getServiceURL, getUsername, isFailOnError, setContainerName, setFailOnError, setHost, setJmxDomainName, setJndiPath, setPassword, setPort, setServerProtocol, setUsername
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopComponentTask

public StopComponentTask()
Method Detail

getName

public String getName()
Returns:
Returns the component name.

setName

public void setName(String name)
Parameters:
name - The component name to set.

doExecute

public void doExecute(AdminCommandsServiceMBean acs)
               throws Exception
execute the task

Specified by:
doExecute in class JbiTask
Throws:
org.apache.tools.ant.BuildException
Exception


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.