SessionManagerpublic class SessionManager extends com.sun.enterprise.tools.common.dd.SunBaseBean This generated bean class SessionManager matches the schema element session-manager
Generated on Tue Sep 02 18:08:42 PDT 2003 |
Fields Summary |
---|
static Vector | comparators | public static final String | PERSISTENCETYPE | public static final String | MANAGER_PROPERTIES | public static final String | STORE_PROPERTIES |
Constructors Summary |
---|
public SessionManager() // NOI18N
this(Common.USE_DEFAULT_VALUES);
| public SessionManager(int options)
super(comparators, new org.netbeans.modules.schema2beans.Version(1, 2, 0));
// Properties (see root bean comments for the bean graph)
this.createProperty("manager-properties", // NOI18N
MANAGER_PROPERTIES,
Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY,
ManagerProperties.class);
this.createProperty("store-properties", // NOI18N
STORE_PROPERTIES,
Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY,
StoreProperties.class);
this.initialize(options);
|
Methods Summary |
---|
public static void | addComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.add(c);
| public void | dump(java.lang.StringBuffer str, java.lang.String indent)
String s;
Object o;
org.netbeans.modules.schema2beans.BaseBean n;
str.append(indent);
str.append("ManagerProperties"); // NOI18N
n = (org.netbeans.modules.schema2beans.BaseBean) this.getManagerProperties();
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(MANAGER_PROPERTIES, 0, str, indent);
str.append(indent);
str.append("StoreProperties"); // NOI18N
n = (org.netbeans.modules.schema2beans.BaseBean) this.getStoreProperties();
if (n != null)
n.dump(str, indent + "\t"); // NOI18N
else
str.append(indent+"\tnull"); // NOI18N
this.dumpAttributes(STORE_PROPERTIES, 0, str, indent);
| public java.lang.String | dumpBeanNode()
StringBuffer str = new StringBuffer();
str.append("SessionManager\n"); // NOI18N
this.dump(str, "\n "); // NOI18N
return str.toString();
| public ManagerProperties | getManagerProperties()
return (ManagerProperties)this.getValue(MANAGER_PROPERTIES);
| public java.lang.String | getPersistenceType()
return getAttributeValue(PERSISTENCETYPE);
| public StoreProperties | getStoreProperties()
return (StoreProperties)this.getValue(STORE_PROPERTIES);
| void | initialize(int options)
| public static void | removeComparator(org.netbeans.modules.schema2beans.BeanComparator c)
comparators.remove(c);
| public void | setManagerProperties(ManagerProperties value)
this.setValue(MANAGER_PROPERTIES, value);
| public void | setPersistenceType(java.lang.String value)
setAttributeValue(PERSISTENCETYPE, value);
| public void | setStoreProperties(StoreProperties value)
this.setValue(STORE_PROPERTIES, value);
| public void | validate()
boolean restrictionFailure = false;
// Validating property persistenceType
if (getPersistenceType() == null) {
throw new org.netbeans.modules.schema2beans.ValidateException("getPersistenceType() == null", "persistenceType", this); // NOI18N
}
// Validating property managerProperties
if (getManagerProperties() != null) {
getManagerProperties().validate();
}
// Validating property storeProperties
if (getStoreProperties() != null) {
getStoreProperties().validate();
}
|
|