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