org.wso2.carbon.relay.module.handler
Class SkipAdminServiceHandler

java.lang.Object
  extended by org.apache.axis2.handlers.AbstractHandler
      extended by org.wso2.carbon.relay.module.handler.SkipAdminServiceHandler
All Implemented Interfaces:
org.apache.axis2.engine.Handler

public class SkipAdminServiceHandler
extends org.apache.axis2.handlers.AbstractHandler

This is a protection against the relay to make sure it does not interfere with other things. Basically, this hander will undo the wrapping done by the relay for certain services/patterns.

Author:
Srinath Perera (srinath@wso2.com)

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.axis2.engine.Handler
org.apache.axis2.engine.Handler.InvocationResponse
 
Field Summary
static String ADMIN_SERVICE_PARAM_NAME
           
static String HIDDEN_SERVICE_PARAM_NAME
           
 
Fields inherited from class org.apache.axis2.handlers.AbstractHandler
handlerDesc
 
Constructor Summary
SkipAdminServiceHandler()
           
 
Method Summary
 void init(org.apache.axis2.description.HandlerDescription handlerdesc)
           
 org.apache.axis2.engine.Handler.InvocationResponse invoke(org.apache.axis2.context.MessageContext msgContext)
           
 boolean isFilteredOutService(org.apache.axis2.description.AxisService service, RelayConfiguration relConf)
           
 
Methods inherited from class org.apache.axis2.handlers.AbstractHandler
cleanup, flowComplete, getHandlerDesc, getName, getParameter, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ADMIN_SERVICE_PARAM_NAME

public static final String ADMIN_SERVICE_PARAM_NAME
See Also:
Constant Field Values

HIDDEN_SERVICE_PARAM_NAME

public static final String HIDDEN_SERVICE_PARAM_NAME
See Also:
Constant Field Values
Constructor Detail

SkipAdminServiceHandler

public SkipAdminServiceHandler()
Method Detail

invoke

public org.apache.axis2.engine.Handler.InvocationResponse invoke(org.apache.axis2.context.MessageContext msgContext)
                                                          throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

init

public void init(org.apache.axis2.description.HandlerDescription handlerdesc)
Specified by:
init in interface org.apache.axis2.engine.Handler
Overrides:
init in class org.apache.axis2.handlers.AbstractHandler

isFilteredOutService

public boolean isFilteredOutService(org.apache.axis2.description.AxisService service,
                                    RelayConfiguration relConf)


Copyright © 2015 WSO2. All rights reserved.