KickJava   Java API By Example, From Geeks To Geeks.

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


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/SessionManagerConfig.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
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      Configuration for the <session-manager> element.
42  */

43 public interface SessionManagerConfig
44     extends ConfigElement, Container
45 {
46 /** The j2eeType as returned by {@link com.sun.appserv.management.base.AMX#getJ2EEType}. */
47     public static final String JavaDoc J2EE_TYPE = XTypes.SESSION_MANAGER_CONFIG;
48
49     /**
50         Creates new manager-properties element.
51      
52         @param params Map of optional attributes whose keys are defined in
53         ManagerPropertiesParams interface.
54         @return A proxy to the ManagerPropertiesConfig MBean.
55         @see ManagerPropertiesConfigKeys
56      */

57     public ManagerPropertiesConfig createManagerPropertiesConfig( Map JavaDoc<String JavaDoc,String JavaDoc> params );
58
59     /**
60         Removes manager-properties element.
61      */

62     public void removeManagerPropertiesConfig();
63
64     /**
65         Get the ManagerPropertiesConfig MBean.
66      */

67     public ManagerPropertiesConfig getManagerPropertiesConfig();
68
69     /**
70         Creates new manager-properties element.
71      
72         @param params Map of optional attributes whose keys are defined in
73         ManagerPropertiesParams interface.
74         @return A proxy to the StorePropertiesConfig MBean.
75         @see StorePropertiesConfigKeys
76      */

77     public StorePropertiesConfig createStorePropertiesConfig( Map JavaDoc<String JavaDoc,String JavaDoc> params );
78
79     /**
80         Removes store-properties element.
81      */

82     public void removeStorePropertiesConfig();
83
84     /**
85         Get the StorePropertiesConfig MBean.
86      */

87     public StorePropertiesConfig getStorePropertiesConfig();
88 }
89
Popular Tags