|
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
public abstract class 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 IURComponentaModule - aContainer - public void destroy()
IURComponent
destroy in interface IURComponentpublic final ModuleDefinition getModule()
getModule in interface ITransrepresentor
public final IURRepresentation transrepresent(IURRepresentation aFrom,
URRequest aRequest)
throws NetKernelException
transrepresent in interface ITransrepresentoraFrom - aRequest -
NetKernelException
protected abstract void transrepresent(INKFConvenienceHelper context)
throws java.lang.Exception
context - the full NKF context for the request
java.lang.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 | |||||||||