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

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.ShutDownServiceAssemblyTask

public class ShutDownServiceAssemblyTask
extends JbiTask

Shut down a Service Assembly

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
ShutDownServiceAssemblyTask()
           
 
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

ShutDownServiceAssemblyTask

public ShutDownServiceAssemblyTask()
Method Detail

getName

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

setName

public void setName(String name)
Parameters:
name - The assembly 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.