com.sun.enterprise.module.impl
Class CookedModuleDefinition

java.lang.Object
  extended by com.sun.enterprise.module.common_impl.DefaultModuleDefinition
      extended by com.sun.enterprise.module.impl.CookedModuleDefinition
All Implemented Interfaces:
ModuleDefinition

public class CookedModuleDefinition
extends DefaultModuleDefinition

Author:
dochez

Field Summary
 
Fields inherited from class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
classPath, mainAttributes
 
Constructor Summary
CookedModuleDefinition(File file, Attributes attr)
          Creates a new instance of CookedModuleDefinitionefinition
 
Method Summary
 void add(List<URI> extraClassPath)
           
 void addDependency(ModuleDependency dependent)
           
 void addPublicInterface(String exported)
           
 ModuleDependency[] getDependencies()
          Returns the list of module dependencies
 String[] getPublicInterfaces()
          Returns the list of classes and packages that have been designated as public interfaces of this module.
 
Methods inherited from class com.sun.enterprise.module.common_impl.DefaultModuleDefinition
decorateClassPath, getImportPolicyClassName, getLifecyclePolicyClassName, getLocations, getManifest, getMetadata, getName, getVersion, parseAttributes, parseClassPath, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CookedModuleDefinition

public CookedModuleDefinition(File file,
                              Attributes attr)
                       throws IOException
Creates a new instance of CookedModuleDefinitionefinition

Throws:
IOException
Method Detail

addPublicInterface

public void addPublicInterface(String exported)

getPublicInterfaces

public String[] getPublicInterfaces()
Description copied from class: DefaultModuleDefinition
Returns the list of classes and packages that have been designated as public interfaces of this module.

Specified by:
getPublicInterfaces in interface ModuleDefinition
Overrides:
getPublicInterfaces in class DefaultModuleDefinition
Returns:
the list of public packages or classes

addDependency

public void addDependency(ModuleDependency dependent)

getDependencies

public ModuleDependency[] getDependencies()
Description copied from class: DefaultModuleDefinition
Returns the list of module dependencies

Specified by:
getDependencies in interface ModuleDefinition
Overrides:
getDependencies in class DefaultModuleDefinition
Returns:
the ModuleDependency

add

public void add(List<URI> extraClassPath)


Copyright © 2013 Oracle Corporation. All Rights Reserved.