|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ten60.netkernel.layer1.nkf.impl.NKFTransreptorImpl
NKF based Transreptor implementation base class
Constructor Summary | |
NKFTransreptorImpl()
|
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)
Initialises the transreptor with hooks to its module |
protected abstract void |
transrepresent(INKFConvenienceHelper context)
Implement this method to provide the resultant representation on the response |
IURRepresentation |
transrepresent(IURRepresentation aFrom,
URRequest aRequest)
Adapts the kernel API into the NKF API and calls the transrepresent(INKFConvenienceHelper context) method. |
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 NKFTransreptorImpl()
Method Detail |
public final void initialise(Container aContainer, ModuleDefinition aModule)
initialise
in interface IURComponent
aModule
- aContainer
- public 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
- aRequest
-
NetKernelException
protected abstract void transrepresent(INKFConvenienceHelper context) throws Exception
context
- the full NKF context for the request
Exception
- you can throw any exception you like and it will be mapped
into a NetKernelException
|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |