KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > appserv > management > config > IIOPServiceConfig


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23  
24 /*
25  * $Header: /cvs/glassfish/admin-core/mbeanapi/src/java/com/sun/appserv/management/config/IIOPServiceConfig.java,v 1.4 2006/03/09 20:30:23 llc Exp $
26  * $Revision: 1.4 $
27  * $Date: 2006/03/09 20:30:23 $
28  */

29
30
31 package com.sun.appserv.management.config;
32
33 import java.util.Map JavaDoc;
34
35 import com.sun.appserv.management.base.XTypes;
36 import com.sun.appserv.management.base.Container;
37
38
39
40
41
42
43 /**
44      Configuration for the <iiop-service> element.
45  */

46 public interface IIOPServiceConfig
47     extends ConfigElement, Container
48 {
49 /** The j2eeType as returned by {@link com.sun.appserv.management.base.AMX#getJ2EEType}. */
50     public static final String JavaDoc J2EE_TYPE = XTypes.IIOP_SERVICE_CONFIG;
51
52     /**
53         Creates ssl-client-config element.
54
55         @param params
56         @return Returns a proxy to the SSLConfig MBean.
57      */

58     public SSLConfig createIIOPSSLClientConfig( Map JavaDoc<String JavaDoc,String JavaDoc> params );
59
60     /**
61         Removes ssl-client-config element.
62      */

63     public void removeIIOPSSLClientConfig();
64
65     /**
66         Get the SSLConfig MBean that corresponds to ssl-client-config
67         element of this iiop service.
68      */

69     public SSLConfig getIIOPSSLClientConfig();
70
71     public boolean getClientAuthenticationRequired();
72
73     public void setClientAuthenticationRequired( final boolean value );
74
75
76
77     /**
78         Calls Container.getContaineeMap( XTypes.IIOP_LISTENER_CONFIG ).
79         @return Map of IIOPListenerConfig MBean proxies, keyed by name.
80         @see com.sun.appserv.management.base.Container#getContaineeMap
81      */

82     public Map JavaDoc<String JavaDoc,IIOPListenerConfig> getIIOPListenerConfigMap();
83     
84     
85     /**
86         Create an <iiop-listener>. Most fields will default to reasonable values.
87         Caller should modify them after creation, if desired.
88         
89         @param name the name (id) of the newly created listener
90         @param address IP address of the listener
91         @param optional optional parameters
92         @see IIOPListenerConfigKeys
93      */

94     public IIOPListenerConfig createIIOPListenerConfig( String JavaDoc name, String JavaDoc address, Map JavaDoc<String JavaDoc,String JavaDoc> optional );
95
96     /**
97         Removes an iiop listener.
98
99         @param name the name (id) of the iiop listener to be removed.
100      */

101     public void removeIIOPListenerConfig( String JavaDoc name );
102
103
104     /**
105         Get a proxy to an ORBConfig
106      */

107     ORBConfig getORBConfig();
108 }
109
110
111
112
113
114
115
116
Popular Tags