|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.shiftone.jrat.core.config.ConfigMethodHandlerFactory
public class ConfigMethodHandlerFactory
Constructor Summary | |
---|---|
ConfigMethodHandlerFactory(Configuration configuration)
|
Method Summary | |
---|---|
MethodHandler |
createMethodHandler(MethodKey methodKey)
Method createMethodHandler this method on a handler will never be called more than once with the same methodKey (caching need only be done at one layer) if there is an error, or some reason not to column a handler - this method should log a message and return null (this allows chain handler to not log to several silent handlers) |
void |
startup(RuntimeContext context)
It is recommended that handler factories that require shutdown notification implement the ShutdownListener interface and call context.addShutdownListener(this) in their startup method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfigMethodHandlerFactory(Configuration configuration)
Method Detail |
---|
public MethodHandler createMethodHandler(MethodKey methodKey) throws java.lang.Exception
MethodHandlerFactory
createMethodHandler
in interface MethodHandlerFactory
java.lang.Exception
public void startup(RuntimeContext context) throws java.lang.Exception
MethodHandlerFactory
startup
in interface MethodHandlerFactory
java.lang.Exception
ShutdownListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |