|
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
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(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 IComponent
start
in class ComponentImpl
NetKernelException
public XMLReadable getReadable()
public void write(OutputStream aStream) throws IOException
write
in interface IAspectBinaryStream
write
in class ComponentImpl
aStream
- the output stream
IOException
public void sink(IAspectBinaryStream aData) throws IOException, NetKernelException
IOException
NetKernelException
|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |