org.ow2.util.ee.deploy.impl.helper
Class DeployableHelper

java.lang.Object
  extended by org.ow2.util.ee.deploy.impl.helper.DeployableHelper

public final class DeployableHelper
extends java.lang.Object

Analyze an archive and build the associated Deployable object.
For an .ear file the EARDeployable object will be returned.

Author:
Florent Benoit

Method Summary
static org.ow2.util.ee.deploy.api.deployable.IDeployable<?> getDeployable(org.ow2.util.ee.deploy.api.archive.IArchive archive)
          Gets the Deployable object for the given URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDeployable

public static org.ow2.util.ee.deploy.api.deployable.IDeployable<?> getDeployable(org.ow2.util.ee.deploy.api.archive.IArchive archive)
                                                                          throws DeployableHelperException
Gets the Deployable object for the given URL.

Parameters:
archive - the given archive
Returns:
the Deployable object
Throws:
DeployableHelperException - if the analyze fails


Copyright © 2007 OW2 Consortium. All Rights Reserved.