KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > webservice > AxisServiceMBean


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.webservice;
8
9 /**
10  * MBean interface.
11  * @since 15-April-2004
12  */

13 public interface AxisServiceMBean extends org.jboss.system.ServiceMBean
14 {
15
16    //default object name
17
public static final javax.management.ObjectName JavaDoc OBJECT_NAME = org.jboss.mx.util.ObjectNameFactory
18          .create("jboss.ws4ee:service=AxisService");
19
20    java.lang.String JavaDoc getWebServiceHost();
21
22    int getWebServicePort();
23
24    int getWebServiceSecurePort();
25
26    boolean isAlwaysModifySOAPAddress();
27
28    void setWebServiceHost(java.lang.String JavaDoc host);
29
30    void setWebServicePort(int port);
31
32    void setWebServiceSecurePort(int port);
33
34    void setAlwaysModifySOAPAddress(boolean modify);
35
36    java.lang.String JavaDoc getInvokerProviderEJB();
37
38    void setInvokerProviderEJB(java.lang.String JavaDoc invokerProviderEJB);
39
40    java.lang.String JavaDoc getInvokerProviderJSE();
41
42    void setInvokerProviderJSE(java.lang.String JavaDoc invokerProviderJSE);
43
44    /**
45     * Get axis server singleton
46     */

47    org.jboss.axis.server.AxisServer getAxisServer();
48
49    /**
50     * Get MetaDataBeanSerializer/Deserializer metaData registry
51     */

52    org.jboss.webservice.deployment.MetaDataRegistry getMetaDataRegistry();
53
54    /**
55     * Get port component info for a given web service id The keys into the registry are: [deploment.ear]/[deployment.?ar]#PortComponentName A client deployment may use a 'port-component-link' like: [deployment.?ar]#PortComponentName In case we don't find a direct match we try matching by key.endsWith(wsID) See CTS test: /com/sun/ts/tests/webservices/deploy/portcomplink
56     * @param wsID The web service identifier
57     * @return The port component info, or null
58     */

59    org.jboss.webservice.PortComponentInfo getPortComponentInfo(java.lang.String JavaDoc wsID);
60
61    /**
62     * Returns a the array of registered PortComponentInfo objects
63     */

64    org.jboss.webservice.PortComponentInfo[] listServiceEndpointInfos();
65
66    /**
67     * List the registered webservices
68     */

69    java.lang.String JavaDoc listServiceEndpoints();
70
71    /**
72     * Deploy a webservice from a Axis WSDD URL
73     */

74    void deployService(org.jboss.webservice.PortComponentInfo pcInfo) throws java.lang.Exception JavaDoc;
75
76    /**
77     * Undeploy a webservice for a given web service id
78     */

79    void undeployService(java.lang.String JavaDoc serviceID) throws java.lang.Exception JavaDoc;
80
81 }
82
Popular Tags