com.jp.protection.priv.pro
Class WSBuilder

java.lang.Object
  extended by com.jp.protection.priv.pro.WSBuilder

public class WSBuilder
extends java.lang.Object


Field Summary
static java.lang.String FOLDER_CLASSES
           
static java.lang.String FOLDER_LIB
           
static java.lang.String FOLDER_WS
           
(package private)  java.util.Vector fWSBuilderListeners
           
static java.io.File PROTECTION_WS_WAR
           
 
Constructor Summary
WSBuilder()
           
 
Method Summary
 void addWSBuilderListener(WSBuilderListener l)
           
 boolean build(java.io.File aWARFile, java.io.File aDeployFile, java.io.File aProductsStorage, ProductsStorage.PasswordResolver aPasswordResolver)
           
 boolean build(java.io.File aWARFile, java.io.File aDeployFile, LicensingFacadeConfig aConfig, java.lang.String aProductsStorage, ProductsStorage.PasswordResolver aPasswordResolver)
           
protected  void fireBuildFinished(java.lang.String aTarget, boolean isSuccess)
           
protected  void fireBuildStarted()
           
protected  void fireOnError(java.lang.String aMessage)
           
protected  void fireOnError(java.lang.Throwable anException)
           
protected  ProductsStorage getProductsStorage(java.io.File aProductsStorage, ProductsStorage.PasswordResolver aPasswordResolver)
           
 void removeWSBuilderListener(WSBuilderListener l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROTECTION_WS_WAR

public static final java.io.File PROTECTION_WS_WAR

FOLDER_WS

public static final java.lang.String FOLDER_WS
See Also:
Constant Field Values

FOLDER_LIB

public static final java.lang.String FOLDER_LIB
See Also:
Constant Field Values

FOLDER_CLASSES

public static final java.lang.String FOLDER_CLASSES
See Also:
Constant Field Values

fWSBuilderListeners

transient java.util.Vector fWSBuilderListeners
Constructor Detail

WSBuilder

public WSBuilder()
Method Detail

getProductsStorage

protected ProductsStorage getProductsStorage(java.io.File aProductsStorage,
                                             ProductsStorage.PasswordResolver aPasswordResolver)

build

public boolean build(java.io.File aWARFile,
                     java.io.File aDeployFile,
                     java.io.File aProductsStorage,
                     ProductsStorage.PasswordResolver aPasswordResolver)
              throws java.io.IOException
Throws:
java.io.IOException

build

public boolean build(java.io.File aWARFile,
                     java.io.File aDeployFile,
                     LicensingFacadeConfig aConfig,
                     java.lang.String aProductsStorage,
                     ProductsStorage.PasswordResolver aPasswordResolver)
              throws java.io.IOException
Throws:
java.io.IOException

addWSBuilderListener

public void addWSBuilderListener(WSBuilderListener l)

removeWSBuilderListener

public void removeWSBuilderListener(WSBuilderListener l)

fireBuildStarted

protected void fireBuildStarted()

fireBuildFinished

protected void fireBuildFinished(java.lang.String aTarget,
                                 boolean isSuccess)

fireOnError

protected void fireOnError(java.lang.String aMessage)

fireOnError

protected void fireOnError(java.lang.Throwable anException)