org.jboss.classloading.spi.metadata
Class ClassLoadingMetaData

java.lang.Object
  extended by org.jboss.classloading.spi.helpers.NameAndVersionSupport
      extended by org.jboss.classloading.spi.metadata.ClassLoadingMetaData
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
ClassLoadingMetaData10, MockClassLoadingMetaData, VFSClassLoaderFactory

public class ClassLoadingMetaData
extends NameAndVersionSupport

ClassLoadingMetaData.

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

Constructor Summary
ClassLoadingMetaData()
           
 
Method Summary
 ClassLoadingMetaData clone()
           
 boolean equals(Object obj)
           
 CapabilitiesMetaData getCapabilities()
          Get the capabilities.
 String getDomain()
          Get the domain.
 ClassFilter getExcluded()
          Get a filter for the excluded packages
 ClassFilter getExcludedExport()
          Get a filter for the excluded export packages
 String getExcludedExportPackages()
          Get the excludedExportPackages.
 String getExcludedPackages()
          Get the excludedPackages.
 ExportAll getExportAll()
          Get the exportAll.
 ClassFilter getIncluded()
          Get a filter for the included packages
 String getIncludedPackages()
          Get the includedPackages.
 String getParentDomain()
          Get the parentDomain.
 RequirementsMetaData getRequirements()
          Get the requirements.
 boolean isBlackListable()
          Get the blackListable.
 boolean isCacheable()
          Get the cacheable.
 boolean isImportAll()
          Whether to import all
 boolean isJ2seClassLoadingCompliance()
          Get the j2seClassLoadingCompliance.
 void setBlackListable(boolean blackListable)
          Set the blackListable.
 void setCacheable(boolean cacheable)
          Set the cacheable.
 void setCapabilities(CapabilitiesMetaData capabilities)
          Set the capabilities.
 void setCapabilities(List<Capability> capabilities)
          Set the capabilities.
 void setDomain(String domain)
          Set the domain.
 void setExcluded(ClassFilter excluded)
          Set the excluded.
 void setExcludedExport(ClassFilter excludedExport)
          Set the excludedExport.
 void setExcludedExportPackages(String excludedExportPackages)
          Set the excludedExportPackages.
 void setExcludedPackages(String excludedPackages)
          Set the excludedPackages.
 void setExportAll(ExportAll exportAll)
          Set the exportAll.
 void setImportAll(boolean importAll)
          Set the importAll.
 void setIncluded(ClassFilter included)
          Set the included.
 void setIncludedPackages(String includedPackages)
          Set the includedPackages.
 void setJ2seClassLoadingCompliance(boolean classLoadingCompliance)
          Set the j2seClassLoadingCompliance.
 void setParentDomain(String parentDomain)
          Set the parentDomain.
 void setRequirements(List<Requirement> requirements)
          Set the requirements.
 void setRequirements(RequirementsMetaData requirements)
          Set the requirements.
 String toString()
           
protected  void toString(StringBuilder builder)
          For subclasses to override the toString contents
 
Methods inherited from class org.jboss.classloading.spi.helpers.NameAndVersionSupport
getName, getTheVersion, getVersion, hashCode, setName, setTheVersion, setVersion
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassLoadingMetaData

public ClassLoadingMetaData()
Method Detail

getDomain

public String getDomain()
Get the domain.

Returns:
the domain.

setDomain

public void setDomain(String domain)
Set the domain.

Parameters:
domain - the domain.

getParentDomain

public String getParentDomain()
Get the parentDomain.

Returns:
the parentDomain.

setParentDomain

public void setParentDomain(String parentDomain)
Set the parentDomain.

Parameters:
parentDomain - the parentDomain.

getExportAll

public ExportAll getExportAll()
Get the exportAll.

Returns:
the exportAll.

setExportAll

public void setExportAll(ExportAll exportAll)
Set the exportAll.

Parameters:
exportAll - the exportAll.

getIncludedPackages

public String getIncludedPackages()
Get the includedPackages.

Returns:
the includedPackages.

setIncludedPackages

public void setIncludedPackages(String includedPackages)
Set the includedPackages.

Parameters:
includedPackages - the includedPackages.

getIncluded

public ClassFilter getIncluded()
Get a filter for the included packages

Returns:
the included packages

setIncluded

public void setIncluded(ClassFilter included)
Set the included.

Parameters:
included - the included.

getExcludedPackages

public String getExcludedPackages()
Get the excludedPackages.

Returns:
the excludedPackages.

setExcludedPackages

public void setExcludedPackages(String excludedPackages)
Set the excludedPackages.

Parameters:
excludedPackages - the excludedPackages.

getExcluded

public ClassFilter getExcluded()
Get a filter for the excluded packages

Returns:
the excluded packages

setExcluded

public void setExcluded(ClassFilter excluded)
Set the excluded.

Parameters:
excluded - the excluded.

getExcludedExportPackages

public String getExcludedExportPackages()
Get the excludedExportPackages.

Returns:
the excludedExportPackages.

setExcludedExportPackages

public void setExcludedExportPackages(String excludedExportPackages)
Set the excludedExportPackages.

Parameters:
excludedExportPackages - the excludedExportPackages.

getExcludedExport

public ClassFilter getExcludedExport()
Get a filter for the excluded export packages

Returns:
the excluded export packages

setExcludedExport

public void setExcludedExport(ClassFilter excludedExport)
Set the excludedExport.

Parameters:
excludedExport - the excludedExport.

isImportAll

public boolean isImportAll()
Whether to import all

Returns:
true when there are no requirements

setImportAll

public void setImportAll(boolean importAll)
Set the importAll.

Parameters:
importAll - the importAll.

isJ2seClassLoadingCompliance

public boolean isJ2seClassLoadingCompliance()
Get the j2seClassLoadingCompliance.

Returns:
the j2seClassLoadingCompliance.

setJ2seClassLoadingCompliance

public void setJ2seClassLoadingCompliance(boolean classLoadingCompliance)
Set the j2seClassLoadingCompliance.

Parameters:
classLoadingCompliance - the j2seClassLoadingCompliance.

isCacheable

public boolean isCacheable()
Get the cacheable.

Returns:
the cacheable.

setCacheable

public void setCacheable(boolean cacheable)
Set the cacheable.

Parameters:
cacheable - the cacheable.

isBlackListable

public boolean isBlackListable()
Get the blackListable.

Returns:
the blackListable.

setBlackListable

public void setBlackListable(boolean blackListable)
Set the blackListable.

Parameters:
blackListable - the blackListable.

getCapabilities

public CapabilitiesMetaData getCapabilities()
Get the capabilities.

Returns:
the capabilities.

setCapabilities

public void setCapabilities(CapabilitiesMetaData capabilities)
Set the capabilities.

Parameters:
capabilities - the capabilities.
Throws:
IllegalArgumentException - for null capabilities

setCapabilities

public void setCapabilities(List<Capability> capabilities)
Set the capabilities.

Parameters:
capabilities - the capabilities.

getRequirements

public RequirementsMetaData getRequirements()
Get the requirements.

Returns:
the requirements.

setRequirements

public void setRequirements(RequirementsMetaData requirements)
Set the requirements.

Parameters:
requirements - the requirements.
Throws:
IllegalArgumentException - for null requirements

setRequirements

public void setRequirements(List<Requirement> requirements)
Set the requirements.

Parameters:
requirements - the requirements.

toString

public String toString()
Overrides:
toString in class NameAndVersionSupport

toString

protected void toString(StringBuilder builder)
For subclasses to override the toString contents

Parameters:
builder - the builder

equals

public boolean equals(Object obj)
Overrides:
equals in class NameAndVersionSupport

clone

public ClassLoadingMetaData clone()
Overrides:
clone in class NameAndVersionSupport


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