net.sf.infrared.antTask
Class Integrate

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.tools.ant.taskdefs.MatchingTask
              extended bynet.sf.infrared.antTask.Integrate
All Implemented Interfaces:
org.apache.tools.ant.types.selectors.SelectorContainer

public class Integrate
extends org.apache.tools.ant.taskdefs.MatchingTask

Integrates the InfraRED with the application. Integration of InfraRED with the application is composed of following steps. 1. Instrumentation of application (Insertion of byte code to collect performance data). 2. Addition of relevant InfraRED jars in the appropriate location in the application. 3. Insertion of appropriate servlet filters, application life cycle listener and listener servlet in the application. 4. Addition of infrared properties file in the appropriate location.


Field Summary
protected  Vector filesets
           
 
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
fileset
 
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
Integrate()
           
 
Method Summary
 void addFileset(org.apache.tools.ant.types.FileSet set)
           
 org.apache.tools.ant.types.Path createClasspath()
           
 void execute()
           
 org.apache.tools.ant.types.Path getClasspath()
           
 void setAppInfLibJars(String appInfLibJars)
           
 void setApplicationName(String applicationName)
           
 void setAppserver(String appserver)
           
 void setAspectPath(File aspectPath)
           
 void setCentralCollection(String centralCollection)
           
 void setCentralServer(String centralServer)
           
 void setClasspath(org.apache.tools.ant.types.Path classpath)
           
 void setDestEarFile(File destEarFile)
           
 void setDestWebWar(File destWebWar)
           
 void setDistDir(String distDir)
           
 void setEarFile(File earFile)
           
 void setExplodedTempDir(String explodedTempDir)
           
 void setFork(boolean fork)
           
 void setInfraredHome(File infraredHome)
           
 void setInstrument(boolean instrument)
           
 void setPortNumber(String portNumber)
           
 void setWeblogicJar(File weblogicJar)
           
 void setWebWar(File webWar)
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filesets

protected Vector filesets
Constructor Detail

Integrate

public Integrate()
Method Detail

setEarFile

public void setEarFile(File earFile)

setWebWar

public void setWebWar(File webWar)

setDestEarFile

public void setDestEarFile(File destEarFile)

setDestWebWar

public void setDestWebWar(File destWebWar)

setInfraredHome

public void setInfraredHome(File infraredHome)

setAppInfLibJars

public void setAppInfLibJars(String appInfLibJars)

setDistDir

public void setDistDir(String distDir)

setExplodedTempDir

public void setExplodedTempDir(String explodedTempDir)

setWeblogicJar

public void setWeblogicJar(File weblogicJar)

setCentralCollection

public void setCentralCollection(String centralCollection)

setCentralServer

public void setCentralServer(String centralServer)

setAspectPath

public void setAspectPath(File aspectPath)

setInstrument

public void setInstrument(boolean instrument)

setFork

public void setFork(boolean fork)

setAppserver

public void setAppserver(String appserver)

setApplicationName

public void setApplicationName(String applicationName)

setPortNumber

public void setPortNumber(String portNumber)

addFileset

public void addFileset(org.apache.tools.ant.types.FileSet set)

createClasspath

public org.apache.tools.ant.types.Path createClasspath()

setClasspath

public void setClasspath(org.apache.tools.ant.types.Path classpath)

getClasspath

public org.apache.tools.ant.types.Path getClasspath()

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Throws:
org.apache.tools.ant.BuildException