org.apache.servicemix.jbi.deployer.task
Class UninstallComponentTask

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.UninstallComponentTask
All Implemented Interfaces:
java.lang.Cloneable

public class UninstallComponentTask
extends JbiTask

Uninstall a Component

Version:
$Revision: 749304 $

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
UninstallComponentTask()
           
 
Method Summary
 void doExecute(AdminCommandsService acs)
          execute the task
 java.lang.String getName()
           
 void setName(java.lang.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

UninstallComponentTask

public UninstallComponentTask()
Method Detail

getName

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

setName

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

doExecute

public void doExecute(AdminCommandsService acs)
               throws java.lang.Exception
execute the task

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


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