01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one
03: * or more contributor license agreements. See the NOTICE file
04: * distributed with this work for additional information
05: * regarding copyright ownership. The ASF licenses this file
06: * to you under the Apache License, Version 2.0 (the
07: * "License"); you may not use this file except in compliance
08: * with the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing,
13: * software distributed under the License is distributed on an
14: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15: * KIND, either express or implied. See the License for the
16: * specific language governing permissions and limitations
17: * under the License.
18: */
19:
20: package org.apache.axis2.engine;
21:
22: import org.apache.axis2.AxisFault;
23: import org.apache.axis2.context.MessageContext;
24: import org.apache.axis2.handlers.AbstractHandler;
25:
26: /**
27: * By the time the control comes to this handler, the dispatching must have happened
28: * so that the message context contains the AxisServiceGroup, AxisService and
29: * AxisOperation.
30: * This will then try to find the Contexts of ServiceGroup, Service and the Operation.
31: * @deprecated The functionality of this class has moved into the DispatchPhase postconditions
32: */
33: public class InstanceDispatcher extends AbstractHandler {
34:
35: /**
36: * This doesn't do anything, as the functionality is now in DispatchPhase.checkPostConditions()
37: * The class remains for backwards compatibility of axis2.xml files, but it should go away after
38: * 1.3.
39: *
40: * @param msgContext the <code>MessageContext</code> to process with this <code>Handler</code>.
41: * @return An InvocationResponse that indicates what the next step in the message processing
42: * should be.
43: * @throws org.apache.axis2.AxisFault if the handler encounters an error
44: */
45: public InvocationResponse invoke(MessageContext msgContext)
46: throws AxisFault {
47: return InvocationResponse.CONTINUE;
48: }
49: }
|