com.ten60.netkernel.module
Class ModuleDefinition
java.lang.Object
com.ten60.netkernel.module.ModuleDefinition
- All Implemented Interfaces:
- IRequestorContext
- public final class ModuleDefinition
- extends Object
- implements IRequestorContext
In memory representation of a deployed module
ELEMENT_IMPORT
public static final String ELEMENT_IMPORT
- See Also:
- Constant Field Values
ELEMENT_ACCESSOR
public static final String ELEMENT_ACCESSOR
- See Also:
- Constant Field Values
ELEMENT_THIS
public static final String ELEMENT_THIS
- See Also:
- Constant Field Values
ELEMENT_SUPER
public static final String ELEMENT_SUPER
- See Also:
- Constant Field Values
ELEMENT_REWRITE
public static final String ELEMENT_REWRITE
- See Also:
- Constant Field Values
ELEMENT_SKIP
public static final String ELEMENT_SKIP
- See Also:
- Constant Field Values
ELEMENT_VALIDATION_ERROR
public static final String ELEMENT_VALIDATION_ERROR
- See Also:
- Constant Field Values
MODULE_CONFIG
public static final String MODULE_CONFIG
- See Also:
- Constant Field Values
ModuleDefinition
public ModuleDefinition(String aModuleURIString,
long aTimestamp,
Document aDoc,
ModuleManager aModuleManager)
throws IOException,
SAXException,
MalformedURLException,
ClassNotFoundException,
NetKernelException
- Creates a new instance of ModuleDefinition
cleanup
public void cleanup()
cleanupComponents
public void cleanupComponents()
getSourceURI
public String getSourceURI()
getCache
public ICachelet getCache()
getScratchDir
public String getScratchDir()
getScratchDirURI
public String getScratchDirURI()
- Guaranteed *nix/Win32 independent scratch dir URI
getResource
public URL getResource(String aPath)
isExpanded
public boolean isExpanded()
getTimestamp
public long getTimestamp()
getReadable
public XMLReadable getReadable()
getExportedURIMatches
public URIMapping getExportedURIMatches()
getExportedClassMatches
public List getExportedClassMatches()
getRawClassPathElements
public List getRawClassPathElements()
- Used for dynamically building any source. This method returns a list of URLs
getImportedModules
public List getImportedModules()
getResourceExpiries
public PairList getResourceExpiries()
getClassLoader
public ModuleClassLoader getClassLoader()
getURI
public URIdentifier getURI()
getVersion
public Version getVersion()
toString
public String toString()
rewrite
public URIdentifier rewrite(URIdentifier aURI)
getAccessor
public IURAccessor getAccessor(String aClassname,
Container aContainer)
throws NetKernelException
- Throws:
NetKernelException
getTransrepresentorFor
public ITransrepresentor getTransrepresentorFor(IURRepresentation aFrom,
Class aTo,
List aLookedAtModules)
getFragmentorFor
public IFragmentor getFragmentorFor(URRequest aRequest,
List aLookedAtModules)
write
public void write(Writer aWriter)
throws IOException
- Throws:
IOException
Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.