Package org.apache.axis2.description

Examples of org.apache.axis2.description.HandlerDescription


    public static final String NAME = "SynapseDispatcher";

    public void initDispatcher() {
        QName qn = new QName("http://synapse.apache.org", NAME);
        HandlerDescription hd = new HandlerDescription(qn.getLocalPart());
        super.init(hd);
    }
View Full Code Here


        }
        return null;
    }

    public void initDispatcher() {
        init(new HandlerDescription(NAME));
    }
View Full Code Here

    // TODO Auto-generated method stub
    return null;
  }

  public void initDispatcher() {
      init(new HandlerDescription(NAME));
  }
View Full Code Here

  public AxisOperation findOperation(AxisService service, MessageContext messageContext) {
    return null;
  }

  public void initDispatcher() {
      init(new HandlerDescription(NAME));
  }
View Full Code Here

        }
    }

    @Override
    public void initDispatcher() {
        init(new HandlerDescription(NAME));
    }
View Full Code Here

    private static final QName MEDIATE_OPERATION_NAME = new QName("mediate");

    public void initDispatcher() {
        QName qn = new QName("http://synapse.apache.org", "SynapseDispatcher");
        HandlerDescription hd = new HandlerDescription(qn);
        super.init(hd);
    }
View Full Code Here

        log.warn("No service has been found!");
        return null;
    }

    public void initDispatcher() {
        init(new HandlerDescription(NAME));
    }
View Full Code Here

    public static final String NAME = "MultitenantDispatcher";

    public void initDispatcher() {
        QName qn = new QName("http://wso2.org/projects/carbon", NAME);
        HandlerDescription hd = new HandlerDescription(qn.getLocalPart());
        super.init(hd);
    }
View Full Code Here

     *
     * @param mainAxisConfig super-tenant AxisConfiguration
     * @throws org.apache.axis2.AxisFault if an error occurs while adding the dispatcher
     */
    private void addDispatchers(AxisConfiguration mainAxisConfig) throws AxisFault {
        HandlerDescription handlerDescription = new HandlerDescription(MultitenantDispatcher.NAME);
        PhaseRule rule = new PhaseRule(PhaseMetadata.PHASE_DISPATCH);
        rule.setAfter(HTTPLocationBasedDispatcher.NAME);
        rule.setBefore("SynapseDispatcher");
        handlerDescription.setRules(rule);

        MultitenantDispatcher multitenantDispatcher = new MultitenantDispatcher();
        multitenantDispatcher.initDispatcher();
        handlerDescription.setHandler(multitenantDispatcher);

        List<Phase> inflowPhases
                = mainAxisConfig.getInFlowPhases();
        for (Phase inPhase : inflowPhases) {
            // we are interested about the Dispatch phase in the inflow
View Full Code Here

        return null;
    }

    @Override
    public void initDispatcher() {
        init(new HandlerDescription(NAME));
    }
View Full Code Here

TOP

Related Classes of org.apache.axis2.description.HandlerDescription

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.