org.jboss.classloading.spi.dependency.helpers
Class ClassLoadingMetaDataModule

java.lang.Object
  extended by org.jboss.classloading.spi.helpers.NameAndVersionSupport
      extended by org.jboss.classloading.spi.dependency.Module
          extended by org.jboss.classloading.spi.dependency.helpers.ClassLoadingMetaDataModule
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
ClassLoaderPolicyModule

public abstract class ClassLoadingMetaDataModule
extends Module

ClassLoadingMetaDataModule.

Version:
$Revision: 1.1 $
Author:
Adrian Brock
See Also:
Serialized Form

Constructor Summary
ClassLoadingMetaDataModule(ClassLoadingMetaData classLoadingMetaData, String contextName)
          Create a new ClassLoadingMetaDataModule.
 
Method Summary
protected  List<Capability> determineCapabilities()
          Determine the capabilities
 List<Requirement> determineRequirements()
          Determine the requirements.
protected  ClassLoadingMetaData getClassLoadingMetaData()
          Get the classloading metadata
 String getDomainName()
          Get the domain name.
 ClassFilter getExcluded()
          Get a filter for the excluded packages
 ClassFilter getExcludedExport()
          Get a filter for the excluded export packages
 ExportAll getExportAll()
          Get the export all for the module
 ClassFilter getIncluded()
          Get a filter for the included packages
 String getParentDomainName()
          Get the parent domain name.
 boolean isBlackListable()
          Whether to cache misses
 boolean isCacheable()
          Whether to cache
 boolean isImportAll()
          Get the import all for the module
 boolean isJ2seClassLoadingCompliance()
          Get delegate policy
 
Methods inherited from class org.jboss.classloading.spi.dependency.Module
addDelegates, addIDependOn, createDependencies, createLazyDelegateLoader, defaultCapabilities, determinePackageNames, equals, getCapabilities, getClassLoader, getClassLoaderForClass, getClassLoaderState, getContextName, getControllerContext, getDelegateLoader, getDelegates, getDeterminedDomainName, getDeterminedParentDomainName, getDeterminedParentPolicy, getDynamicClassRoot, getModuleForClass, getPackageNames, getRequirementDependencyItems, getRequirements, getResource, getResources, isValid, loadClass, registerModuleClassLoader, release, removeDependencies, removeIDependOn, reset, resolveModule, setControllerContext, unregisterModuleClassLoader, visit, visit, visit
 
Methods inherited from class org.jboss.classloading.spi.helpers.NameAndVersionSupport
clone, getName, getTheVersion, getVersion, hashCode, setName, setTheVersion, setVersion, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassLoadingMetaDataModule

public ClassLoadingMetaDataModule(ClassLoadingMetaData classLoadingMetaData,
                                  String contextName)
Create a new ClassLoadingMetaDataModule.

Parameters:
classLoadingMetaData - the classLoading metadata
contextName - the context name
Throws:
IllegalArgumentException - for null classloading metadata
Method Detail

getClassLoadingMetaData

protected ClassLoadingMetaData getClassLoadingMetaData()
Get the classloading metadata

Returns:
the metadata

getDomainName

public String getDomainName()
Description copied from class: Module
Get the domain name.

Overrides:
getDomainName in class Module
Returns:
the domain name.

getParentDomainName

public String getParentDomainName()
Description copied from class: Module
Get the parent domain name.

Overrides:
getParentDomainName in class Module
Returns:
the parent domain name.

getExportAll

public ExportAll getExportAll()
Description copied from class: Module
Get the export all for the module

Overrides:
getExportAll in class Module
Returns:
the export all

getIncluded

public ClassFilter getIncluded()
Description copied from class: Module
Get a filter for the included packages

Overrides:
getIncluded in class Module
Returns:
the excluded packages

getExcluded

public ClassFilter getExcluded()
Description copied from class: Module
Get a filter for the excluded packages

Overrides:
getExcluded in class Module
Returns:
the excluded packages

getExcludedExport

public ClassFilter getExcludedExport()
Description copied from class: Module
Get a filter for the excluded export packages

Overrides:
getExcludedExport in class Module
Returns:
the excluded packages

isImportAll

public boolean isImportAll()
Description copied from class: Module
Get the import all for the module

Overrides:
isImportAll in class Module
Returns:
the import all

isJ2seClassLoadingCompliance

public boolean isJ2seClassLoadingCompliance()
Description copied from class: Module
Get delegate policy

Overrides:
isJ2seClassLoadingCompliance in class Module
Returns:
the delegation policy

isCacheable

public boolean isCacheable()
Description copied from class: Module
Whether to cache

Overrides:
isCacheable in class Module
Returns:
true to cache

isBlackListable

public boolean isBlackListable()
Description copied from class: Module
Whether to cache misses

Overrides:
isBlackListable in class Module
Returns:
true to cache misses

determineCapabilities

protected List<Capability> determineCapabilities()
Description copied from class: Module
Determine the capabilities

Overrides:
determineCapabilities in class Module
Returns:
the capabilities

determineRequirements

public List<Requirement> determineRequirements()
Description copied from class: Module
Determine the requirements.

Overrides:
determineRequirements in class Module
Returns:
the requirements.


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.