KickJava   Java API By Example, From Geeks To Geeks.

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


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/SessionConfig.java,v 1.4 2006/03/09 20:30:25 llc Exp $
26  * $Revision: 1.4 $
27  * $Date: 2006/03/09 20:30:25 $
28  */

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

40 public interface SessionConfig
41     extends ConfigElement, Container
42 {
43 /** The j2eeType as returned by {@link com.sun.appserv.management.base.AMX#getJ2EEType}. */
44     public static final String JavaDoc J2EE_TYPE = XTypes.SESSION_CONFIG;
45
46     /**
47         Creates new session-manager element.
48
49         @return A proxy to the SessionManagerConfig MBean.
50      */

51     public SessionManagerConfig createSessionManagerConfig();
52
53     /**
54         Removes session-manager element.
55      */

56     public void removeSessionManagerConfig();
57
58     /**
59         Get the SessionManagerConfig MBean.
60      */

61     public SessionManagerConfig getSessionManagerConfig();
62
63     /**
64         Creates new session-properties element.
65
66         @param params Map of optional attrbutes and properties.
67         @return A proxy to the SessionPropertiesConfig MBean.
68      */

69     public SessionPropertiesConfig createSessionPropertiesConfig( Map JavaDoc<String JavaDoc,String JavaDoc> params );
70
71     /**
72         Removes session-properties element.
73      */

74     public void removeSessionPropertiesConfig();
75
76     /**
77         Get the SessionPropertiesConfig MBean.
78      */

79     public SessionPropertiesConfig getSessionPropertiesConfig();
80 }
81
Popular Tags