org.ow2.jonas.ear.internal
Class EARModule

java.lang.Object
  extended by org.ow2.jonas.ear.internal.EARModule

public class EARModule
extends Object

Class representing an Ear structure which is composed of modules inside this archive and about the current URL or unpacked folder, deployment descriptor.

Author:
Florent Benoit

Constructor Summary
EARModule(org.ow2.util.ee.deploy.api.deployable.EARDeployable earDeployable, String deploymentDescriptor)
          Construct an Ear structure with the specified files.
 
Method Summary
 ClassLoader getClassLoader()
          Return the classloader of this Ear.
 String getDeploymentDescriptor()
           
 org.ow2.util.ee.deploy.api.deployable.EARDeployable getEARDeployable()
          Return the deployable of this Ear.
 FilteringClassLoader getFilteringClassLoader()
          Return the FilteringClassLoader of this Ear.
 void setClassLoader(ClassLoader classLoader)
          Sets the classloader
 void setFilteringClassLoader(FilteringClassLoader filteringClassLoader)
          Sets the FilteringClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EARModule

public EARModule(org.ow2.util.ee.deploy.api.deployable.EARDeployable earDeployable,
                 String deploymentDescriptor)
Construct an Ear structure with the specified files.

Parameters:
earDeployable - name of the working copy of the ear
deploymentDescriptor - the deployment descriptor of the file
Method Detail

getEARDeployable

public org.ow2.util.ee.deploy.api.deployable.EARDeployable getEARDeployable()
Return the deployable of this Ear.

Returns:
the deployable of this Ear

getDeploymentDescriptor

public String getDeploymentDescriptor()
Returns:
the deployment descriptor of this EAR.

getClassLoader

public ClassLoader getClassLoader()
Return the classloader of this Ear.

Returns:
the classloader of this Ear

setClassLoader

public void setClassLoader(ClassLoader classLoader)
Sets the classloader


getFilteringClassLoader

public FilteringClassLoader getFilteringClassLoader()
Return the FilteringClassLoader of this Ear.

Returns:
the FilteringClassLoader of this Ear

setFilteringClassLoader

public void setFilteringClassLoader(FilteringClassLoader filteringClassLoader)
Sets the FilteringClassLoader



Copyright © 2012 OW2 Consortium. All Rights Reserved.