Class SpringCommandHandler<T extends org.jolokia.server.core.request.JolokiaRequest>
java.lang.Object
org.jolokia.support.spring.backend.SpringCommandHandler<T>
- Direct Known Subclasses:
SpringListHandler,SpringReadHandler
public abstract class SpringCommandHandler<T extends org.jolokia.server.core.request.JolokiaRequest>
extends Object
Base class for Jolokia commands accessing the spring container
- Since:
- 02.12.13
- Author:
- roland
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSpringCommandHandler(org.springframework.context.ApplicationContext pAppContext, org.jolokia.server.core.service.api.JolokiaContext pContext, org.jolokia.server.core.util.RequestType pType) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.context.ApplicationContextorg.jolokia.server.core.service.api.JolokiaContextorg.jolokia.server.core.util.RequestTypegetType()abstract ObjecthandleRequest(T pJmxReq, Object pPreviousResult)
-
Constructor Details
-
SpringCommandHandler
protected SpringCommandHandler(org.springframework.context.ApplicationContext pAppContext, org.jolokia.server.core.service.api.JolokiaContext pContext, org.jolokia.server.core.util.RequestType pType)
-
-
Method Details
-
getType
public org.jolokia.server.core.util.RequestType getType() -
getJolokiaContext
public org.jolokia.server.core.service.api.JolokiaContext getJolokiaContext() -
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext() -
handleRequest
public abstract Object handleRequest(T pJmxReq, Object pPreviousResult) throws InstanceNotFoundException, AttributeNotFoundException
-