|
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.container.Config
public class Config
Configuration Component reads in system configuration information and holds it for other components to access
| Field Summary | |
|---|---|
static URIdentifier |
URI
our URI |
| Fields inherited from class com.ten60.netkernel.urii.representation.SimpleRepresentationImpl |
|---|
mMeta |
| Constructor Summary | |
|---|---|
Config()
Constructs a Config |
|
| Method Summary | |
|---|---|
XMLReadable |
getReadable()
Returns an XMLReadable interface over the configuration |
void |
sink(IAspectBinaryStream aData)
Writes the configuration from the given aspect to the underlying storage. |
void |
start(Container aContainer)
Starts the Config component reading in the configuration ready for use. |
void |
write(java.io.OutputStream aStream)
Writes the stored configuration to the outputstream |
| Methods inherited from class com.ten60.netkernel.container.ComponentImpl |
|---|
doPeriodicHouseKeeping, getEncoding, getURI, stop |
| 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 URIdentifier URI
| Constructor Detail |
|---|
public Config()
| Method Detail |
|---|
public void start(Container aContainer)
throws NetKernelException
start in interface IComponentstart in class ComponentImplaContainer - the container we will execute inside
NetKernelException - thrown if we encounter any error during startuppublic XMLReadable getReadable()
public void write(java.io.OutputStream aStream)
throws java.io.IOException
write in interface IAspectBinaryStreamwrite in class ComponentImplaStream - the output stream
java.io.IOException - thrown if we fail to write
public void sink(IAspectBinaryStream aData)
throws java.io.IOException,
NetKernelException
java.io.IOException
NetKernelException
|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||