|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.classloading.spi.helpers.NameAndVersionSupport
org.jboss.classloading.spi.dependency.Module
org.jboss.classloading.spi.dependency.helpers.ClassLoadingMetaDataModule
org.jboss.classloading.spi.dependency.policy.ClassLoaderPolicyModule
org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule
public class VFSClassLoaderPolicyModule
VFSClassLoaderPolicyModule.
| Constructor Summary | |
|---|---|
VFSClassLoaderPolicyModule(VFSClassLoaderFactory classLoadingMetaData,
String contextName)
Create a new VFSClassLoaderPolicyModule. |
|
| Method Summary | |
|---|---|
protected List<Capability> |
determineCapabilities()
Determine the capabilities |
protected VFSClassLoaderPolicy |
determinePolicy()
Determine the classloader policy |
protected org.jboss.virtual.VirtualFile[] |
determineVFSRoots()
Get the virtual file roots |
protected VFSClassLoaderFactory |
getClassLoadingMetaData()
Get the classloading metadata |
VFSClassLoaderPolicy |
getPolicy()
Get the policy |
List<String> |
getRoots()
Get the roots. |
protected org.jboss.virtual.VirtualFile |
getVirtualFile(URI uri)
Get virtual file for uri. |
void |
reset()
Reset the module |
void |
setKernelControllerContext(org.jboss.kernel.spi.dependency.KernelControllerContext context)
|
void |
setRoots(List<String> roots)
Set the roots. |
void |
unsetKernelControllerContext(org.jboss.kernel.spi.dependency.KernelControllerContext context)
|
void |
visit(ResourceVisitor visitor,
ResourceFilter filter,
ResourceFilter recurseFilter,
URL... urls)
Visit the resources in this module using the given filter(s) Typically the filter is used to determine which types of files to visit, e.g. |
| Methods inherited from class org.jboss.classloading.spi.dependency.policy.ClassLoaderPolicyModule |
|---|
createLazyDelegateLoader, getClassLoader, getClassLoaderForClass, getDelegateLoader, registerClassLoaderPolicy, registerClassLoaderPolicy, registerClassLoaderPolicy, removeClassLoader |
| Methods inherited from class org.jboss.classloading.spi.dependency.helpers.ClassLoadingMetaDataModule |
|---|
determineRequirements, getDomainName, getExcluded, getExcludedExport, getExportAll, getIncluded, getParentDomainName, isBlackListable, isCacheable, isImportAll, isJ2seClassLoadingCompliance |
| Methods inherited from class org.jboss.classloading.spi.dependency.Module |
|---|
addDelegates, addIDependOn, createDependencies, defaultCapabilities, determinePackageNames, equals, getCapabilities, getClassLoaderState, getContextName, getControllerContext, getDelegates, getDeterminedDomainName, getDeterminedParentDomainName, getDeterminedParentPolicy, getDynamicClassRoot, getModuleForClass, getPackageNames, getRequirementDependencyItems, getRequirements, getResource, getResources, isValid, loadClass, registerModuleClassLoader, release, removeDependencies, removeIDependOn, resolveModule, setControllerContext, unregisterModuleClassLoader, 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 |
|---|
public VFSClassLoaderPolicyModule(VFSClassLoaderFactory classLoadingMetaData,
String contextName)
classLoadingMetaData - the classloading metadatacontextName - the context name| Method Detail |
|---|
public List<String> getRoots()
public void setRoots(List<String> roots)
roots - the roots.protected List<Capability> determineCapabilities()
Module
determineCapabilities in class ClassLoadingMetaDataModule
public void setKernelControllerContext(org.jboss.kernel.spi.dependency.KernelControllerContext context)
throws Exception
setKernelControllerContext in interface org.jboss.kernel.spi.dependency.KernelControllerContextAwareException
public void unsetKernelControllerContext(org.jboss.kernel.spi.dependency.KernelControllerContext context)
throws Exception
unsetKernelControllerContext in interface org.jboss.kernel.spi.dependency.KernelControllerContextAwareExceptionprotected VFSClassLoaderFactory getClassLoadingMetaData()
ClassLoadingMetaDataModule
getClassLoadingMetaData in class ClassLoadingMetaDataModuleprotected org.jboss.virtual.VirtualFile[] determineVFSRoots()
protected org.jboss.virtual.VirtualFile getVirtualFile(URI uri)
throws Exception
uri - the uri
Exception - for any errorpublic VFSClassLoaderPolicy getPolicy()
ClassLoaderPolicyModule
getPolicy in class ClassLoaderPolicyModuleprotected VFSClassLoaderPolicy determinePolicy()
ClassLoaderPolicyModule
determinePolicy in class ClassLoaderPolicyModulepublic void reset()
Module
reset in class ClassLoaderPolicyModule
public void visit(ResourceVisitor visitor,
ResourceFilter filter,
ResourceFilter recurseFilter,
URL... urls)
Module
visit in class Modulevisitor - the visitorfilter - the filterrecurseFilter - the recursion filter (null means recurse into everything)urls - the urls we should visit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||