org.apache.ws.util.spring
Class SpringBeansXmlMergeTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.ws.util.spring.SpringBeansXmlMergeTask

public class SpringBeansXmlMergeTask
extends org.apache.tools.ant.Task

An Ant task that merges one or more source spring-beans.xml's into a target spring-beans.xml.


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
SpringBeansXmlMergeTask()
          Creates a new SpringBeansXmlMergeTask object.
 
Method Summary
 void addConfiguredSourceFiles(org.apache.tools.ant.types.FileSet fileSet)
          Adds the files in the specified fileset to the list of source spring-beans.xml's.
 void execute()
          DOCUMENT_ME
 void setSourceFile(java.io.File srcFile)
          Adds the specified file to the list of source spring-beans.xml's.
 void setTargetFile(java.io.File targetFile)
          Sets the target spring-beans.xml (i.e.
 
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

SpringBeansXmlMergeTask

public SpringBeansXmlMergeTask()
Creates a new SpringBeansXmlMergeTask object.

Method Detail

setSourceFile

public void setSourceFile(java.io.File srcFile)
Adds the specified file to the list of source spring-beans.xml's.

Parameters:
srcFile -

setTargetFile

public void setTargetFile(java.io.File targetFile)
Sets the target spring-beans.xml (i.e. the spring-beans.xml to be merged into).

Parameters:
targetFile -

addConfiguredSourceFiles

public void addConfiguredSourceFiles(org.apache.tools.ant.types.FileSet fileSet)
Adds the files in the specified fileset to the list of source spring-beans.xml's.

Parameters:
fileSet - DOCUMENT_ME

execute

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

Throws:
org.apache.tools.ant.BuildException - DOCUMENT_ME


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.