org.ow2.jonas.deployment.ear.wrapper
Class EarManagerWrapper

java.lang.Object
  extended by org.ow2.jonas.deployment.ear.wrapper.EarManagerWrapper

public final class EarManagerWrapper
extends Object

Wrapper that allow us to use Commons Digester.

Author:
Guillaume Sauthier

Method Summary
static EarDeploymentDesc getDeploymentDesc(org.ow2.util.ee.deploy.api.deployable.EARDeployable earDeployable, ClassLoader cl)
          Wrap EarDeploymentDescManager.getDeploymentDesc(ear, cl).
static void setParsingWithValidation(boolean b)
          Wrap EarDeploymentDescManager.setParsingWithValidation(b).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDeploymentDesc

public static EarDeploymentDesc getDeploymentDesc(org.ow2.util.ee.deploy.api.deployable.EARDeployable earDeployable,
                                                  ClassLoader cl)
                                           throws EarDeploymentDescException
Wrap EarDeploymentDescManager.getDeploymentDesc(ear, cl).

Parameters:
earDeployable - the given EAR deployable
cl - Application ClassLoader
Returns:
the EarDeploymentDesc of the ear filename
Throws:
EarDeploymentDescException - When Descriptor cannot be instanciated

setParsingWithValidation

public static void setParsingWithValidation(boolean b)
Wrap EarDeploymentDescManager.setParsingWithValidation(b).

Parameters:
b - true/false


Copyright © 2010 OW2 Consortium. All Rights Reserved.