|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ten60.netkernel.layer1.transrepresentation.SimpleTransreptorImpl
SimpleTransreptorImpl provides implementation of ITransrepresentor with no knowledge of where it is. This provides legacy support for effectively static transreptor classes
Constructor Summary | |
SimpleTransreptorImpl()
|
Method Summary | |
void |
destroy()
This method is called to notify the component that it will not be used again. |
ModuleDefinition |
getModule()
|
void |
initialise(Container aContainer,
ModuleDefinition aModule)
initialise an transreptor with its identify, we ignore this |
abstract IURRepresentation |
transrepresent(IURRepresentation aFrom)
Transrepresent the given Representation |
IURRepresentation |
transrepresent(IURRepresentation aFrom,
URRequest aRequest)
Adapts to legacy interface |
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.representation.ITransrepresentor |
supports |
Constructor Detail |
public SimpleTransreptorImpl()
Method Detail |
public final void initialise(Container aContainer, ModuleDefinition aModule)
initialise
in interface IURComponent
aModule
- The module this transreptor operates inaContainer
- The container this transreptor operates inpublic void destroy()
IURComponent
destroy
in interface IURComponent
public final ModuleDefinition getModule()
getModule
in interface ITransrepresentor
public final IURRepresentation transrepresent(IURRepresentation aFrom, URRequest aRequest) throws NetKernelException
transrepresent
in interface ITransrepresentor
aFrom
- the representation to transrepresentaRequest
- the request which necessitated this transrepresentation
NetKernelException
- throw if the transrepresentation fails for any reasonpublic abstract IURRepresentation transrepresent(IURRepresentation aFrom) throws NetKernelException
aFrom
- the representation to transrepresent
NetKernelException
- throw if the transrepresentation fails for any reason
|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |