org.apache.servicemix.jbi.deployer.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.deployer.task.JbiTask
              extended by org.apache.servicemix.jbi.deployer.task.StopComponentTask
All Implemented Interfaces:
Cloneable

public class StopComponentTask
extends JbiTask

Stop a Component

Version:
$Revision: 959901 $

Field Summary
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
StopComponentTask()
           
 
Method Summary
 void doExecute(AdminCommandsService acs)
          execute the task
 String getName()
           
 void setName(String name)
           
 
Methods inherited from class org.apache.servicemix.jbi.deployer.task.JbiTask
close, connect, execute, getAdminCommandsService, getContainerName, getHost, getJMXConnector, getJmxDomainName, getJndiPath, getNamingStrategy, getPassword, getPort, getServerProtocol, getServiceURL, getUsername, isFailOnError, setContainerName, setFailOnError, setHost, setJmxDomainName, setJndiPath, setNamingStrategy, setPassword, setPort, setServerProtocol, setUsername
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
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(AdminCommandsService acs)
               throws Exception
execute the task

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


Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.