|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
IvoryProvider.java | - | 100% | 100% | 100% |
|
1 |
package org.codehaus.ivory.provider;
|
|
2 |
|
|
3 |
import org.apache.axis.AxisFault;
|
|
4 |
import org.apache.axis.MessageContext;
|
|
5 |
import org.apache.axis.handlers.soap.SOAPService;
|
|
6 |
import org.apache.axis.providers.java.RPCProvider;
|
|
7 |
import org.codehaus.ivory.IvoryServiceDesc;
|
|
8 |
|
|
9 |
/**
|
|
10 |
* A provider which intializes with an IvoryServiceDesc instead of a
|
|
11 |
* regular ServiceDesc class so we can access the Ivory metadata.
|
|
12 |
*
|
|
13 |
* @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
|
|
14 |
* @since May 5, 2003
|
|
15 |
*/
|
|
16 |
public class IvoryProvider |
|
17 |
extends RPCProvider
|
|
18 |
{ |
|
19 | 5 |
public void initServiceDesc(SOAPService service, MessageContext msgContext) |
20 |
throws AxisFault
|
|
21 |
{ |
|
22 | 5 |
IvoryServiceDesc serviceDescription = new IvoryServiceDesc();
|
23 | 5 |
service.setServiceDescription( serviceDescription ); |
24 |
|
|
25 |
// Initialize the service description by introspection
|
|
26 | 5 |
super.initServiceDesc( service, msgContext );
|
27 |
|
|
28 |
// After axis does it's thing, load our own metadata.
|
|
29 | 5 |
serviceDescription.loadMetaData(); |
30 |
} |
|
31 |
} |
|
32 |
|
|