KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > management > support > oldconfig > OldConnectorConnectionPoolMBean


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  * Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.
26  * Use is subject to license terms.
27  */

28
29 /**
30     Generated: Mon Apr 19 18:21:54 PDT 2004
31     Generated from:
32     com.sun.appserv:type=connector-connection-pool,name=__SYSTEM/pools/foo/bar,category=config
33 */

34
35 package com.sun.enterprise.management.support.oldconfig;
36
37 import java.util.ArrayList JavaDoc;
38
39 import javax.management.MBeanNotificationInfo JavaDoc;
40 import javax.management.NotificationListener JavaDoc;
41 import javax.management.ObjectName JavaDoc;
42 import javax.management.AttributeList JavaDoc;
43 import javax.management.NotificationFilter JavaDoc;
44
45
46 public interface OldConnectorConnectionPoolMBean
47 {
48         /**
49                 note: actual Attribute name is: connection-definition-name
50         */

51         public String JavaDoc getConnectionDefinitionName();
52         /**
53                 note: actual Attribute name is: connection-definition-name
54         */

55         public void setConnectionDefinitionName( final String JavaDoc value );
56
57         /**
58                 note: actual Attribute name is: description
59         */

60         public String JavaDoc getDescription();
61         /**
62                 note: actual Attribute name is: description
63         */

64         public void setDescription( final String JavaDoc value );
65
66         /**
67                 note: actual Attribute name is: fail-all-connections
68         */

69         public boolean getFailAllConnections();
70         /**
71                 note: actual Attribute name is: fail-all-connections
72         */

73         public void setFailAllConnections( final boolean value );
74
75         /**
76                 note: actual Attribute name is: idle-timeout-in-seconds
77         */

78         public String JavaDoc getIdleTimeoutInSeconds();
79         /**
80                 note: actual Attribute name is: idle-timeout-in-seconds
81         */

82         public void setIdleTimeoutInSeconds( final String JavaDoc value );
83
84         /**
85                 note: actual Attribute name is: is-connection-validation-required
86         */

87         public boolean getIsConnectionValidationRequired();
88         /**
89                 note: actual Attribute name is: is-connection-validation-required
90         */

91         public void setIsConnectionValidationRequired( final boolean value );
92
93         /**
94                 note: actual Attribute name is: max-pool-size
95         */

96         public String JavaDoc getMaxPoolSize();
97         /**
98                 note: actual Attribute name is: max-pool-size
99         */

100         public void setMaxPoolSize( final String JavaDoc value );
101
102         /**
103                 note: actual Attribute name is: max-wait-time-in-millis
104         */

105         public String JavaDoc getMaxWaitTimeInMillis();
106         /**
107                 note: actual Attribute name is: max-wait-time-in-millis
108         */

109         public void setMaxWaitTimeInMillis( final String JavaDoc value );
110
111         /**
112                 note: actual Attribute name is: name
113         */

114         public String JavaDoc getName();
115         /**
116                 note: actual Attribute name is: name
117         */

118         public void setName( final String JavaDoc value );
119
120         /**
121                 note: actual Attribute name is: pool-resize-quantity
122         */

123         public String JavaDoc getPoolResizeQuantity();
124         /**
125                 note: actual Attribute name is: pool-resize-quantity
126         */

127         public void setPoolResizeQuantity( final String JavaDoc value );
128
129         /**
130                 note: actual Attribute name is: resource-adapter-name
131         */

132         public String JavaDoc getResourceAdapterName();
133         /**
134                 note: actual Attribute name is: resource-adapter-name
135         */

136         public void setResourceAdapterName( final String JavaDoc value );
137
138         /**
139                 note: actual Attribute name is: steady-pool-size
140         */

141         public String JavaDoc getSteadyPoolSize();
142         /**
143                 note: actual Attribute name is: steady-pool-size
144         */

145         public void setSteadyPoolSize( final String JavaDoc value );
146
147         /**
148                 note: actual Attribute name is: transaction-support
149         */

150         public String JavaDoc getTransactionSupport();
151         /**
152                 note: actual Attribute name is: transaction-support
153         */

154         public void setTransactionSupport( final String JavaDoc value );
155
156
157 // -------------------- Operations --------------------
158
public ObjectName JavaDoc createSecurityMap( final AttributeList JavaDoc attribute_list );
159         public ObjectName JavaDoc createSecurityMap( final AttributeList JavaDoc param1, final String JavaDoc param2, final String JavaDoc param3, final String JavaDoc param4 );
160         public boolean destroyConfigElement();
161         public AttributeList JavaDoc getAttributes( final String JavaDoc param1, final String JavaDoc param2 );
162         public String JavaDoc getDefaultAttributeValue( final String JavaDoc attributeName );
163         public AttributeList JavaDoc getProperties();
164         public Object JavaDoc getPropertyValue( final String JavaDoc propertyName );
165         public javax.management.ObjectName JavaDoc[] getSecurityMap();
166         public ObjectName JavaDoc getSecurityMapByName( final String JavaDoc key );
167         public java.util.ArrayList JavaDoc listSecurityMap( final String JavaDoc param1, final Boolean JavaDoc param2, final String JavaDoc param3, final String JavaDoc param4 );
168         public void removeSecurityMapByName( final String JavaDoc key );
169         public void setProperty( final javax.management.Attribute JavaDoc nameAndValue );
170         public boolean updateSecurityMap( final AttributeList JavaDoc param1, final String JavaDoc param2 );
171
172 }
Popular Tags