|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ten60.netkernel.urii.representation.SimpleRepresentationImpl
com.ten60.netkernel.container.ComponentImpl
com.ten60.netkernel.module.ModuleManager
public class ModuleManager
NetKernel system component which manages all deployed modules and their public/private address spaces
| Field Summary | |
|---|---|
static java.lang.String |
JAR_SUFFIX
|
static java.lang.String |
MODULE_SCHEME
|
static URIdentifier |
URI
|
| Fields inherited from class com.ten60.netkernel.urii.representation.SimpleRepresentationImpl |
|---|
mMeta |
| Constructor Summary | |
|---|---|
ModuleManager()
|
|
| Method Summary | |
|---|---|
void |
completeStartup()
|
void |
doPeriodicHouseKeeping()
doPeriodicHouseKeeping method implemented with null body |
MappedRequest |
getAccessorForRequest(URRequest aRequest,
boolean aDebug)
Performs the resolution process for a request and optionally captures debug |
ModuleDefinition |
getDefaultCacheModule()
|
java.net.URL |
getDeployedModulesURL(Container aContainer)
|
IFragmentor |
getFragmentorFor(URRequest aRequest)
|
ModuleDefinition |
getModule(URIdentifier aURI,
Version aMin,
Version aMax)
Find the latest version of a module that satisfy the optional criteria |
PairList |
getTransports()
|
ITransrepresentor |
getTransrepresentorFor(IURRepresentation aFrom,
java.lang.Class aTo,
URRequest aRequest)
|
static void |
resetModuleFactory()
|
void |
start(Container aContainer)
start method implemented with null body |
void |
stop()
stop method implemented with null body |
void |
write(java.io.OutputStream aStream)
write method implemented with null body |
| Methods inherited from class com.ten60.netkernel.container.ComponentImpl |
|---|
getEncoding, getURI |
| Methods inherited from class com.ten60.netkernel.urii.representation.SimpleRepresentationImpl |
|---|
getAspect, getAspects, getMeta, hasAspect |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.ten60.netkernel.urii.IURRepresentation |
|---|
getAspect, getAspects, getMeta, hasAspect |
| Field Detail |
|---|
public static final java.lang.String MODULE_SCHEME
public static final java.lang.String JAR_SUFFIX
public static final URIdentifier URI
| Constructor Detail |
|---|
public ModuleManager()
| Method Detail |
|---|
public static void resetModuleFactory()
public void start(Container aContainer)
throws NetKernelException
ComponentImpl
start in interface IComponentstart in class ComponentImplaContainer - the container we will execute inside
NetKernelException - thrown if we encounter any error during startup
public void stop()
throws NetKernelException
ComponentImpl
stop in interface IComponentstop in class ComponentImplNetKernelException - thrown if we encounter any error during startuppublic void completeStartup()
public ModuleDefinition getDefaultCacheModule()
public java.net.URL getDeployedModulesURL(Container aContainer)
throws java.net.MalformedURLException
java.net.MalformedURLException
public ModuleDefinition getModule(URIdentifier aURI,
Version aMin,
Version aMax)
throws NetKernelException
NetKernelException - thrown if no match can be foundpublic PairList getTransports()
public MappedRequest getAccessorForRequest(URRequest aRequest,
boolean aDebug)
throws NetKernelException
aRequest - the request to resolveaDebug - true if we should capture debug trace
NetKernelException
public ITransrepresentor getTransrepresentorFor(IURRepresentation aFrom,
java.lang.Class aTo,
URRequest aRequest)
public IFragmentor getFragmentorFor(URRequest aRequest)
public void write(java.io.OutputStream aStream)
throws java.io.IOException
ComponentImpl
write in interface IAspectBinaryStreamwrite in class ComponentImplaStream - the output stream
java.io.IOException - thrown if we fail to writepublic void doPeriodicHouseKeeping()
ComponentImpl
doPeriodicHouseKeeping in interface IComponentdoPeriodicHouseKeeping in class ComponentImpl
|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||