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

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

public class InstallSharedLibraryTask
extends JbiTask

Install a shared library

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
InstallSharedLibraryTask()
           
 
Method Summary
 void doExecute(AdminCommandsService acs)
          execute the task
 java.lang.String getFile()
           
 boolean isDeferExceptions()
           
 void setDeferExceptions(boolean deferExceptions)
           
 void setFile(java.lang.String file)
           
 
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

InstallSharedLibraryTask

public InstallSharedLibraryTask()
Method Detail

isDeferExceptions

public boolean isDeferExceptions()

setDeferExceptions

public void setDeferExceptions(boolean deferExceptions)

getFile

public java.lang.String getFile()
Returns:
Returns the file.

setFile

public void setFile(java.lang.String file)
Parameters:
file - The shared library URI 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.