NetKernel APIs


com.ten60.netkernel.container
Interface IComponent

All Superinterfaces:
IAspectBinaryStream, IURAspect, IURRepresentation
All Known Implementing Classes:
ComponentImpl

public interface IComponent
extends IURRepresentation, IAspectBinaryStream

Interface for all NetKernel System Components, they are all IURRepresentations and implements IRepresentationBinaryStream.


Method Summary
 void doPeriodicHouseKeeping()
          perform some housekeeping work every house keeping period.
 URIdentifier getURI()
          return our URI
 void start(Container aContainer)
          starts the component
 void stop()
          stops the component
 
Methods inherited from interface com.ten60.netkernel.urii.IURRepresentation
getAspect, getAspects, getMeta, hasAspect
 
Methods inherited from interface com.ten60.netkernel.urii.aspect.IAspectBinaryStream
getEncoding, write
 

Method Detail

getURI

public URIdentifier getURI()
return our URI

Returns:
our URI

doPeriodicHouseKeeping

public void doPeriodicHouseKeeping()
perform some housekeeping work every house keeping period.


start

public void start(Container aContainer)
           throws NetKernelException
starts the component

Parameters:
aContainer - the container we will execute inside
Throws:
NetKernelException - thrown if we encounter any error during startup

stop

public void stop()
          throws NetKernelException
stops the component

Throws:
NetKernelException - thrown if we encounter any error during startup

NetKernel APIs


Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.