uk.ac.ed.inf.ogsaconfig.garm.collections.generators
Class BasicWSDDGenerator

java.lang.Object
  |
  +--uk.ac.ed.inf.ogsaconfig.garm.collections.generators.WSDDGenerator
        |
        +--uk.ac.ed.inf.ogsaconfig.garm.collections.generators.BasicWSDDGenerator
All Implemented Interfaces:
Generator

public class BasicWSDDGenerator
extends WSDDGenerator

This WSDD generator is a basic implementation. It is likely to be slower than some methods since it redeploys every file onto a base every time a deployment occurs. This helps to ensure the state is consistent, but is slow


Constructor Summary
BasicWSDDGenerator(java.io.File templateDir)
           
 
Method Summary
protected  VFile regenerateClient(VFile[] clientFiles)
           
protected  VFile regenerateServer(VFile[] serverFiles)
           
 
Methods inherited from class uk.ac.ed.inf.ogsaconfig.garm.collections.generators.WSDDGenerator
add, getChangedFiles, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicWSDDGenerator

public BasicWSDDGenerator(java.io.File templateDir)
Parameters:
templateDir - is the location holding the template files
Method Detail

regenerateServer

protected VFile regenerateServer(VFile[] serverFiles)
Specified by:
regenerateServer in class WSDDGenerator
Parameters:
serverFiles - is the set of server-deploy.wsdd files active
Returns:
is a generated server-config.wsdd

regenerateClient

protected VFile regenerateClient(VFile[] clientFiles)
Specified by:
regenerateClient in class WSDDGenerator
Parameters:
clientFiles - is the set of client-deploy.wsdd files active
Returns:
is a generated client-config.wsdd