FileDocCategorySizeDatePackage
Config.javaAPI DocGlassfish v2 API41373Sun Dec 10 15:26:10 GMT 2006com.sun.enterprise.config.serverbeans

Config

public class Config extends com.sun.enterprise.config.ConfigBean implements Serializable
This generated bean class Config matches the DTD element config

Fields Summary
static Vector
comparators
private static final org.netbeans.modules.schema2beans.Version
runtimeVersion
public static final String
HTTP_SERVICE
public static final String
IIOP_SERVICE
public static final String
ADMIN_SERVICE
public static final String
CONNECTOR_SERVICE
public static final String
WEB_CONTAINER
public static final String
EJB_CONTAINER
public static final String
MDB_CONTAINER
public static final String
JMS_SERVICE
public static final String
LOG_SERVICE
public static final String
SECURITY_SERVICE
public static final String
TRANSACTION_SERVICE
public static final String
MONITORING_SERVICE
public static final String
DIAGNOSTIC_SERVICE
public static final String
JAVA_CONFIG
public static final String
AVAILABILITY_SERVICE
public static final String
THREAD_POOLS
public static final String
ALERT_SERVICE
public static final String
GROUP_MANAGEMENT_SERVICE
public static final String
MANAGEMENT_RULES
public static final String
SYSTEM_PROPERTY
public static final String
ELEMENT_PROPERTY
Constructors Summary
public Config()


	  
		this(Common.USE_DEFAULT_VALUES);
	
public Config(int options)

		super(comparators, runtimeVersion);
		// Properties (see root bean comments for the bean graph)
		initPropertyTables(21);
		this.createProperty("http-service", HTTP_SERVICE, 
			Common.TYPE_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			HttpService.class);
		this.createProperty("iiop-service", IIOP_SERVICE, 
			Common.TYPE_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			IiopService.class);
		this.createAttribute(IIOP_SERVICE, "client-authentication-required", "ClientAuthenticationRequired", 
						AttrProp.CDATA,
						null, "false");
		this.createProperty("admin-service", ADMIN_SERVICE, 
			Common.TYPE_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			AdminService.class);
		this.createAttribute(ADMIN_SERVICE, "type", "Type", 
						AttrProp.CDATA,
						null, "server");
		this.createAttribute(ADMIN_SERVICE, "system-jmx-connector-name", "SystemJmxConnectorName", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createProperty("connector-service", CONNECTOR_SERVICE, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			ConnectorService.class);
		this.createAttribute(CONNECTOR_SERVICE, "shutdown-timeout-in-seconds", "ShutdownTimeoutInSeconds", 
						AttrProp.CDATA,
						null, "30");
		this.createProperty("web-container", WEB_CONTAINER, 
			Common.TYPE_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			WebContainer.class);
		this.createProperty("ejb-container", EJB_CONTAINER, 
			Common.TYPE_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			EjbContainer.class);
		this.createAttribute(EJB_CONTAINER, "steady-pool-size", "SteadyPoolSize", 
						AttrProp.CDATA,
						null, "32");
		this.createAttribute(EJB_CONTAINER, "pool-resize-quantity", "PoolResizeQuantity", 
						AttrProp.CDATA,
						null, "16");
		this.createAttribute(EJB_CONTAINER, "max-pool-size", "MaxPoolSize", 
						AttrProp.CDATA,
						null, "64");
		this.createAttribute(EJB_CONTAINER, "cache-resize-quantity", "CacheResizeQuantity", 
						AttrProp.CDATA,
						null, "32");
		this.createAttribute(EJB_CONTAINER, "max-cache-size", "MaxCacheSize", 
						AttrProp.CDATA,
						null, "512");
		this.createAttribute(EJB_CONTAINER, "pool-idle-timeout-in-seconds", "PoolIdleTimeoutInSeconds", 
						AttrProp.CDATA,
						null, "600");
		this.createAttribute(EJB_CONTAINER, "cache-idle-timeout-in-seconds", "CacheIdleTimeoutInSeconds", 
						AttrProp.CDATA,
						null, "600");
		this.createAttribute(EJB_CONTAINER, "removal-timeout-in-seconds", "RemovalTimeoutInSeconds", 
						AttrProp.CDATA,
						null, "5400");
		this.createAttribute(EJB_CONTAINER, "victim-selection-policy", "VictimSelectionPolicy", 
						AttrProp.CDATA,
						null, "nru");
		this.createAttribute(EJB_CONTAINER, "commit-option", "CommitOption", 
						AttrProp.CDATA,
						null, "B");
		this.createAttribute(EJB_CONTAINER, "session-store", "SessionStore", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createProperty("mdb-container", MDB_CONTAINER, 
			Common.TYPE_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			MdbContainer.class);
		this.createAttribute(MDB_CONTAINER, "steady-pool-size", "SteadyPoolSize", 
						AttrProp.CDATA,
						null, "10");
		this.createAttribute(MDB_CONTAINER, "pool-resize-quantity", "PoolResizeQuantity", 
						AttrProp.CDATA,
						null, "2");
		this.createAttribute(MDB_CONTAINER, "max-pool-size", "MaxPoolSize", 
						AttrProp.CDATA,
						null, "60");
		this.createAttribute(MDB_CONTAINER, "idle-timeout-in-seconds", "IdleTimeoutInSeconds", 
						AttrProp.CDATA,
						null, "600");
		this.createProperty("jms-service", JMS_SERVICE, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			JmsService.class);
		this.createAttribute(JMS_SERVICE, "init-timeout-in-seconds", "InitTimeoutInSeconds", 
						AttrProp.CDATA,
						null, "60");
		this.createAttribute(JMS_SERVICE, "type", "Type", 
						AttrProp.CDATA | AttrProp.REQUIRED,
						null, null);
		this.createAttribute(JMS_SERVICE, "start-args", "StartArgs", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(JMS_SERVICE, "default-jms-host", "DefaultJmsHost", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(JMS_SERVICE, "reconnect-interval-in-seconds", "ReconnectIntervalInSeconds", 
						AttrProp.CDATA,
						null, "5");
		this.createAttribute(JMS_SERVICE, "reconnect-attempts", "ReconnectAttempts", 
						AttrProp.CDATA,
						null, "3");
		this.createAttribute(JMS_SERVICE, "reconnect-enabled", "ReconnectEnabled", 
						AttrProp.CDATA,
						null, "true");
		this.createAttribute(JMS_SERVICE, "addresslist-behavior", "AddresslistBehavior", 
						AttrProp.CDATA,
						null, "random");
		this.createAttribute(JMS_SERVICE, "addresslist-iterations", "AddresslistIterations", 
						AttrProp.CDATA,
						null, "3");
		this.createAttribute(JMS_SERVICE, "mq-scheme", "MqScheme", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(JMS_SERVICE, "mq-service", "MqService", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createProperty("log-service", LOG_SERVICE, 
			Common.TYPE_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			LogService.class);
		this.createAttribute(LOG_SERVICE, "file", "File", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(LOG_SERVICE, "use-system-logging", "UseSystemLogging", 
						AttrProp.CDATA,
						null, "false");
		this.createAttribute(LOG_SERVICE, "log-handler", "LogHandler", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(LOG_SERVICE, "log-filter", "LogFilter", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(LOG_SERVICE, "log-to-console", "LogToConsole", 
						AttrProp.CDATA,
						null, "false");
		this.createAttribute(LOG_SERVICE, "log-rotation-limit-in-bytes", "LogRotationLimitInBytes", 
						AttrProp.CDATA,
						null, "500000");
		this.createAttribute(LOG_SERVICE, "log-rotation-timelimit-in-minutes", "LogRotationTimelimitInMinutes", 
						AttrProp.CDATA,
						null, "0");
		this.createAttribute(LOG_SERVICE, "alarms", "Alarms", 
						AttrProp.CDATA,
						null, "false");
		this.createAttribute(LOG_SERVICE, "retain-error-statistics-for-hours", "RetainErrorStatisticsForHours", 
						AttrProp.CDATA,
						null, "5");
		this.createProperty("security-service", SECURITY_SERVICE, 
			Common.TYPE_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			SecurityService.class);
		this.createAttribute(SECURITY_SERVICE, "default-realm", "DefaultRealm", 
						AttrProp.CDATA,
						null, "file");
		this.createAttribute(SECURITY_SERVICE, "default-principal", "DefaultPrincipal", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(SECURITY_SERVICE, "default-principal-password", "DefaultPrincipalPassword", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(SECURITY_SERVICE, "anonymous-role", "AnonymousRole", 
						AttrProp.CDATA,
						null, "AttributeDeprecated");
		this.createAttribute(SECURITY_SERVICE, "audit-enabled", "AuditEnabled", 
						AttrProp.CDATA,
						null, "false");
		this.createAttribute(SECURITY_SERVICE, "jacc", "Jacc", 
						AttrProp.CDATA,
						null, "default");
		this.createAttribute(SECURITY_SERVICE, "audit-modules", "AuditModules", 
						AttrProp.CDATA,
						null, "default");
		this.createAttribute(SECURITY_SERVICE, "activate-default-principal-to-role-mapping", "ActivateDefaultPrincipalToRoleMapping", 
						AttrProp.CDATA,
						null, "false");
		this.createAttribute(SECURITY_SERVICE, "mapped-principal-class", "MappedPrincipalClass", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createProperty("transaction-service", TRANSACTION_SERVICE, 
			Common.TYPE_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			TransactionService.class);
		this.createAttribute(TRANSACTION_SERVICE, "automatic-recovery", "AutomaticRecovery", 
						AttrProp.CDATA,
						null, "false");
		this.createAttribute(TRANSACTION_SERVICE, "timeout-in-seconds", "TimeoutInSeconds", 
						AttrProp.CDATA,
						null, "0");
		this.createAttribute(TRANSACTION_SERVICE, "tx-log-dir", "TxLogDir", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(TRANSACTION_SERVICE, "heuristic-decision", "HeuristicDecision", 
						AttrProp.CDATA,
						null, "rollback");
		this.createAttribute(TRANSACTION_SERVICE, "retry-timeout-in-seconds", "RetryTimeoutInSeconds", 
						AttrProp.CDATA,
						null, "600");
		this.createAttribute(TRANSACTION_SERVICE, "keypoint-interval", "KeypointInterval", 
						AttrProp.CDATA,
						null, "2048");
		this.createProperty("monitoring-service", MONITORING_SERVICE, 
			Common.TYPE_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			MonitoringService.class);
		this.createProperty("diagnostic-service", DIAGNOSTIC_SERVICE, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			DiagnosticService.class);
		this.createAttribute(DIAGNOSTIC_SERVICE, "compute-checksum", "ComputeChecksum", 
						AttrProp.CDATA,
						null, "true");
		this.createAttribute(DIAGNOSTIC_SERVICE, "verify-config", "VerifyConfig", 
						AttrProp.CDATA,
						null, "true");
		this.createAttribute(DIAGNOSTIC_SERVICE, "capture-install-log", "CaptureInstallLog", 
						AttrProp.CDATA,
						null, "true");
		this.createAttribute(DIAGNOSTIC_SERVICE, "capture-system-info", "CaptureSystemInfo", 
						AttrProp.CDATA,
						null, "true");
		this.createAttribute(DIAGNOSTIC_SERVICE, "capture-hadb-info", "CaptureHadbInfo", 
						AttrProp.CDATA,
						null, "true");
		this.createAttribute(DIAGNOSTIC_SERVICE, "capture-app-dd", "CaptureAppDd", 
						AttrProp.CDATA,
						null, "true");
		this.createAttribute(DIAGNOSTIC_SERVICE, "min-log-level", "MinLogLevel", 
						AttrProp.CDATA,
						null, "INFO");
		this.createAttribute(DIAGNOSTIC_SERVICE, "max-log-entries", "MaxLogEntries", 
						AttrProp.CDATA,
						null, "500");
		this.createProperty("java-config", JAVA_CONFIG, 
			Common.TYPE_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			JavaConfig.class);
		this.createAttribute(JAVA_CONFIG, "java-home", "JavaHome", 
						AttrProp.CDATA,
						null, "${com.sun.aas.javaRoot}");
		this.createAttribute(JAVA_CONFIG, "debug-enabled", "DebugEnabled", 
						AttrProp.CDATA,
						null, "false");
		this.createAttribute(JAVA_CONFIG, "debug-options", "DebugOptions", 
						AttrProp.CDATA,
						null, "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n");
		this.createAttribute(JAVA_CONFIG, "rmic-options", "RmicOptions", 
						AttrProp.CDATA,
						null, "-iiop -poa -alwaysgenerate -keepgenerated -g");
		this.createAttribute(JAVA_CONFIG, "javac-options", "JavacOptions", 
						AttrProp.CDATA,
						null, "-g");
		this.createAttribute(JAVA_CONFIG, "classpath-prefix", "ClasspathPrefix", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(JAVA_CONFIG, "classpath-suffix", "ClasspathSuffix", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(JAVA_CONFIG, "server-classpath", "ServerClasspath", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(JAVA_CONFIG, "system-classpath", "SystemClasspath", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(JAVA_CONFIG, "native-library-path-prefix", "NativeLibraryPathPrefix", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(JAVA_CONFIG, "native-library-path-suffix", "NativeLibraryPathSuffix", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(JAVA_CONFIG, "bytecode-preprocessors", "BytecodePreprocessors", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(JAVA_CONFIG, "env-classpath-ignored", "EnvClasspathIgnored", 
						AttrProp.CDATA,
						null, "true");
		this.createProperty("availability-service", AVAILABILITY_SERVICE, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			AvailabilityService.class);
		this.createAttribute(AVAILABILITY_SERVICE, "availability-enabled", "AvailabilityEnabled", 
						AttrProp.CDATA,
						null, "true");
		this.createAttribute(AVAILABILITY_SERVICE, "ha-agent-hosts", "HaAgentHosts", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(AVAILABILITY_SERVICE, "ha-agent-port", "HaAgentPort", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(AVAILABILITY_SERVICE, "ha-agent-password", "HaAgentPassword", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(AVAILABILITY_SERVICE, "ha-store-name", "HaStoreName", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(AVAILABILITY_SERVICE, "auto-manage-ha-store", "AutoManageHaStore", 
						AttrProp.CDATA,
						null, "false");
		this.createAttribute(AVAILABILITY_SERVICE, "store-pool-name", "StorePoolName", 
						AttrProp.CDATA | AttrProp.IMPLIED,
						null, null);
		this.createAttribute(AVAILABILITY_SERVICE, "ha-store-healthcheck-enabled", "HaStoreHealthcheckEnabled", 
						AttrProp.CDATA,
						null, "false");
		this.createAttribute(AVAILABILITY_SERVICE, "ha-store-healthcheck-interval-in-seconds", "HaStoreHealthcheckIntervalInSeconds", 
						AttrProp.CDATA,
						null, "5");
		this.createProperty("thread-pools", THREAD_POOLS, 
			Common.TYPE_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			ThreadPools.class);
		this.createProperty("alert-service", ALERT_SERVICE, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			AlertService.class);
		this.createProperty("group-management-service", GROUP_MANAGEMENT_SERVICE, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			GroupManagementService.class);
		this.createAttribute(GROUP_MANAGEMENT_SERVICE, "fd-protocol-max-tries", "FdProtocolMaxTries", 
						AttrProp.CDATA,
						null, "3");
		this.createAttribute(GROUP_MANAGEMENT_SERVICE, "fd-protocol-timeout-in-millis", "FdProtocolTimeoutInMillis", 
						AttrProp.CDATA,
						null, "2000");
		this.createAttribute(GROUP_MANAGEMENT_SERVICE, "merge-protocol-max-interval-in-millis", "MergeProtocolMaxIntervalInMillis", 
						AttrProp.CDATA,
						null, "10000");
		this.createAttribute(GROUP_MANAGEMENT_SERVICE, "merge-protocol-min-interval-in-millis", "MergeProtocolMinIntervalInMillis", 
						AttrProp.CDATA,
						null, "5000");
		this.createAttribute(GROUP_MANAGEMENT_SERVICE, "ping-protocol-timeout-in-millis", "PingProtocolTimeoutInMillis", 
						AttrProp.CDATA,
						null, "2000");
		this.createAttribute(GROUP_MANAGEMENT_SERVICE, "vs-protocol-timeout-in-millis", "VsProtocolTimeoutInMillis", 
						AttrProp.CDATA,
						null, "1500");
		this.createProperty("management-rules", MANAGEMENT_RULES, 
			Common.TYPE_0_1 | Common.TYPE_BEAN | Common.TYPE_KEY, 
			ManagementRules.class);
		this.createAttribute(MANAGEMENT_RULES, "enabled", "Enabled", 
						AttrProp.CDATA,
						null, "true");
		this.createProperty("system-property", SYSTEM_PROPERTY, 
			Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY, 
			SystemProperty.class);
		this.createAttribute(SYSTEM_PROPERTY, "name", "Name", 
						AttrProp.CDATA | AttrProp.REQUIRED,
						null, null);
		this.createAttribute(SYSTEM_PROPERTY, "value", "Value", 
						AttrProp.CDATA | AttrProp.REQUIRED,
						null, null);
		this.createProperty("property", ELEMENT_PROPERTY, 
			Common.TYPE_0_N | Common.TYPE_BEAN | Common.TYPE_KEY, 
			ElementProperty.class);
		this.createAttribute(ELEMENT_PROPERTY, "name", "Name", 
						AttrProp.CDATA | AttrProp.REQUIRED,
						null, null);
		this.createAttribute(ELEMENT_PROPERTY, "value", "Value", 
						AttrProp.CDATA | AttrProp.REQUIRED,
						null, null);
		this.initialize(options);
	
Methods Summary
public static voidaddComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.add(c);
	
public intaddElementProperty(ElementProperty value)

		return addElementProperty(value, true);
	
public intaddElementProperty(ElementProperty value, boolean overwrite)

		ElementProperty old = getElementPropertyByName(value.getName());
		if(old != null) {
			throw new ConfigException(StringManager.getManager(Config.class).getString("cannotAddDuplicate",  "ElementProperty"));
		}
		return this.addValue(ELEMENT_PROPERTY, value, overwrite);
	
public intaddSystemProperty(SystemProperty value)

		return addSystemProperty(value, true);
	
public intaddSystemProperty(SystemProperty value, boolean overwrite)

		SystemProperty old = getSystemPropertyByName(value.getName());
		if(old != null) {
			throw new ConfigException(StringManager.getManager(Config.class).getString("cannotAddDuplicate",  "SystemProperty"));
		}
		return this.addValue(SYSTEM_PROPERTY, value, overwrite);
	
public voiddump(java.lang.StringBuffer str, java.lang.String indent)

		String s;
		Object o;
		org.netbeans.modules.schema2beans.BaseBean n;
		str.append(indent);
		str.append("HttpService");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getHttpService();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(HTTP_SERVICE, 0, str, indent);

		str.append(indent);
		str.append("IiopService");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getIiopService();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(IIOP_SERVICE, 0, str, indent);

		str.append(indent);
		str.append("AdminService");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getAdminService();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(ADMIN_SERVICE, 0, str, indent);

		str.append(indent);
		str.append("ConnectorService");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getConnectorService();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(CONNECTOR_SERVICE, 0, str, indent);

		str.append(indent);
		str.append("WebContainer");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getWebContainer();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(WEB_CONTAINER, 0, str, indent);

		str.append(indent);
		str.append("EjbContainer");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getEjbContainer();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(EJB_CONTAINER, 0, str, indent);

		str.append(indent);
		str.append("MdbContainer");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getMdbContainer();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(MDB_CONTAINER, 0, str, indent);

		str.append(indent);
		str.append("JmsService");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getJmsService();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(JMS_SERVICE, 0, str, indent);

		str.append(indent);
		str.append("LogService");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getLogService();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(LOG_SERVICE, 0, str, indent);

		str.append(indent);
		str.append("SecurityService");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getSecurityService();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(SECURITY_SERVICE, 0, str, indent);

		str.append(indent);
		str.append("TransactionService");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getTransactionService();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(TRANSACTION_SERVICE, 0, str, indent);

		str.append(indent);
		str.append("MonitoringService");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getMonitoringService();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(MONITORING_SERVICE, 0, str, indent);

		str.append(indent);
		str.append("DiagnosticService");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getDiagnosticService();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(DIAGNOSTIC_SERVICE, 0, str, indent);

		str.append(indent);
		str.append("JavaConfig");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getJavaConfig();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(JAVA_CONFIG, 0, str, indent);

		str.append(indent);
		str.append("AvailabilityService");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getAvailabilityService();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(AVAILABILITY_SERVICE, 0, str, indent);

		str.append(indent);
		str.append("ThreadPools");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getThreadPools();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(THREAD_POOLS, 0, str, indent);

		str.append(indent);
		str.append("AlertService");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getAlertService();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(ALERT_SERVICE, 0, str, indent);

		str.append(indent);
		str.append("GroupManagementService");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getGroupManagementService();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(GROUP_MANAGEMENT_SERVICE, 0, str, indent);

		str.append(indent);
		str.append("ManagementRules");	// NOI18N
		n = (org.netbeans.modules.schema2beans.BaseBean) this.getManagementRules();
		if (n != null)
			n.dump(str, indent + "\t");	// NOI18N
		else
			str.append(indent+"\tnull");	// NOI18N
		this.dumpAttributes(MANAGEMENT_RULES, 0, str, indent);

		str.append(indent);
		str.append("SystemProperty["+this.sizeSystemProperty()+"]");	// NOI18N
		for(int i=0; i<this.sizeSystemProperty(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			n = (org.netbeans.modules.schema2beans.BaseBean) this.getSystemProperty(i);
			if (n != null)
				n.dump(str, indent + "\t");	// NOI18N
			else
				str.append(indent+"\tnull");	// NOI18N
			this.dumpAttributes(SYSTEM_PROPERTY, i, str, indent);
		}

		str.append(indent);
		str.append("ElementProperty["+this.sizeElementProperty()+"]");	// NOI18N
		for(int i=0; i<this.sizeElementProperty(); i++)
		{
			str.append(indent+"\t");
			str.append("#"+i+":");
			n = (org.netbeans.modules.schema2beans.BaseBean) this.getElementProperty(i);
			if (n != null)
				n.dump(str, indent + "\t");	// NOI18N
			else
				str.append(indent+"\tnull");	// NOI18N
			this.dumpAttributes(ELEMENT_PROPERTY, i, str, indent);
		}

	
public java.lang.StringdumpBeanNode()

		StringBuffer str = new StringBuffer();
		str.append("Config\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public AdminServicegetAdminService()

		return (AdminService)this.getValue(ADMIN_SERVICE);
	
public AlertServicegetAlertService()

		return (AlertService)this.getValue(ALERT_SERVICE);
	
public AvailabilityServicegetAvailabilityService()

		return (AvailabilityService)this.getValue(AVAILABILITY_SERVICE);
	
public ConnectorServicegetConnectorService()

		return (ConnectorService)this.getValue(CONNECTOR_SERVICE);
	
public static java.lang.StringgetDefaultAttributeValue(java.lang.String attr)

		if(attr == null) return null;
		attr = attr.trim();
		if(attr.equals(ServerTags.DYNAMIC_RECONFIGURATION_ENABLED)) return "true".trim();
	return null;
	
public static java.lang.StringgetDefaultDynamicReconfigurationEnabled()
Get the default value of DynamicReconfigurationEnabled from dtd

		return "true".trim();
	
public DiagnosticServicegetDiagnosticService()

		return (DiagnosticService)this.getValue(DIAGNOSTIC_SERVICE);
	
public EjbContainergetEjbContainer()

		return (EjbContainer)this.getValue(EJB_CONTAINER);
	
public ElementPropertygetElementProperty(int index)

		return (ElementProperty)this.getValue(ELEMENT_PROPERTY, index);
	
public ElementProperty[]getElementProperty()

		return (ElementProperty[])this.getValues(ELEMENT_PROPERTY);
	
public ElementPropertygetElementPropertyByName(java.lang.String id)

	 if (null != id) { id = id.trim(); }
	ElementProperty[] o = getElementProperty();
	 if (o == null) return null;

	 for (int i=0; i < o.length; i++) {
	     if(o[i].getAttributeValue(Common.convertName(ServerTags.NAME)).equals(id)) {
	         return o[i];
	     }
	 }

		return null;
		
	
public GroupManagementServicegetGroupManagementService()

		return (GroupManagementService)this.getValue(GROUP_MANAGEMENT_SERVICE);
	
public HttpServicegetHttpService()

		return (HttpService)this.getValue(HTTP_SERVICE);
	
public IiopServicegetIiopService()

		return (IiopService)this.getValue(IIOP_SERVICE);
	
public JavaConfiggetJavaConfig()

		return (JavaConfig)this.getValue(JAVA_CONFIG);
	
public JmsServicegetJmsService()

		return (JmsService)this.getValue(JMS_SERVICE);
	
public LogServicegetLogService()

		return (LogService)this.getValue(LOG_SERVICE);
	
public ManagementRulesgetManagementRules()

		return (ManagementRules)this.getValue(MANAGEMENT_RULES);
	
public MdbContainergetMdbContainer()

		return (MdbContainer)this.getValue(MDB_CONTAINER);
	
public MonitoringServicegetMonitoringService()

		return (MonitoringService)this.getValue(MONITORING_SERVICE);
	
public java.lang.StringgetName()
Getter for Name of the Element config

return
the Name of the Element config

		return getAttributeValue(ServerTags.NAME);
	
protected java.lang.StringgetRelativeXPath()
get the xpath representation for this element returns something like abc[@name='value'] or abc depending on the type of the bean

	    String ret = null;
	    ret = "config" + (canHaveSiblings() ? "[@name='" + getAttributeValue("name") +"']" : "") ;
	    return (null != ret ? ret.trim() : null);
	
public SecurityServicegetSecurityService()

		return (SecurityService)this.getValue(SECURITY_SERVICE);
	
public SystemPropertygetSystemProperty(int index)

		return (SystemProperty)this.getValue(SYSTEM_PROPERTY, index);
	
public SystemProperty[]getSystemProperty()

		return (SystemProperty[])this.getValues(SYSTEM_PROPERTY);
	
public SystemPropertygetSystemPropertyByName(java.lang.String id)

	 if (null != id) { id = id.trim(); }
	SystemProperty[] o = getSystemProperty();
	 if (o == null) return null;

	 for (int i=0; i < o.length; i++) {
	     if(o[i].getAttributeValue(Common.convertName(ServerTags.NAME)).equals(id)) {
	         return o[i];
	     }
	 }

		return null;
		
	
public ThreadPoolsgetThreadPools()

		return (ThreadPools)this.getValue(THREAD_POOLS);
	
public TransactionServicegetTransactionService()

		return (TransactionService)this.getValue(TRANSACTION_SERVICE);
	
public WebContainergetWebContainer()

		return (WebContainer)this.getValue(WEB_CONTAINER);
	
voidinitialize(int options)


	
public booleanisDynamicReconfigurationEnabled()
Getter for DynamicReconfigurationEnabled of the Element config

return
the DynamicReconfigurationEnabled of the Element config

		return toBoolean(getAttributeValue(ServerTags.DYNAMIC_RECONFIGURATION_ENABLED));
	
public AdminServicenewAdminService()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new AdminService();
	
public AlertServicenewAlertService()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new AlertService();
	
public AvailabilityServicenewAvailabilityService()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new AvailabilityService();
	
public ConnectorServicenewConnectorService()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new ConnectorService();
	
public DiagnosticServicenewDiagnosticService()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new DiagnosticService();
	
public EjbContainernewEjbContainer()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new EjbContainer();
	
public ElementPropertynewElementProperty()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new ElementProperty();
	
public GroupManagementServicenewGroupManagementService()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new GroupManagementService();
	
public HttpServicenewHttpService()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new HttpService();
	
public IiopServicenewIiopService()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new IiopService();
	
public JavaConfignewJavaConfig()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new JavaConfig();
	
public JmsServicenewJmsService()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new JmsService();
	
public LogServicenewLogService()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new LogService();
	
public ManagementRulesnewManagementRules()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new ManagementRules();
	
public MdbContainernewMdbContainer()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new MdbContainer();
	
public MonitoringServicenewMonitoringService()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new MonitoringService();
	
public SecurityServicenewSecurityService()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new SecurityService();
	
public SystemPropertynewSystemProperty()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new SystemProperty();
	
public ThreadPoolsnewThreadPools()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new ThreadPools();
	
public TransactionServicenewTransactionService()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new TransactionService();
	
public WebContainernewWebContainer()
Create a new bean using it's default constructor. This does not add it to any bean graph.

		return new WebContainer();
	
public static voidremoveComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.remove(c);
	
public intremoveElementProperty(ElementProperty value)

		return this.removeValue(ELEMENT_PROPERTY, value);
	
public intremoveElementProperty(ElementProperty value, boolean overwrite)

		return this.removeValue(ELEMENT_PROPERTY, value, overwrite);
	
public intremoveSystemProperty(SystemProperty value)

		return this.removeValue(SYSTEM_PROPERTY, value);
	
public intremoveSystemProperty(SystemProperty value, boolean overwrite)

		return this.removeValue(SYSTEM_PROPERTY, value, overwrite);
	
public voidsetAdminService(AdminService value)

		this.setValue(ADMIN_SERVICE, value);
	
public voidsetAlertService(AlertService value)

		this.setValue(ALERT_SERVICE, value);
	
public voidsetAvailabilityService(AvailabilityService value)

		this.setValue(AVAILABILITY_SERVICE, value);
	
public voidsetConnectorService(ConnectorService value)

		this.setValue(CONNECTOR_SERVICE, value);
	
public voidsetDiagnosticService(DiagnosticService value)

		this.setValue(DIAGNOSTIC_SERVICE, value);
	
public voidsetDynamicReconfigurationEnabled(boolean v, boolean overwrite)
Modify the DynamicReconfigurationEnabled of the Element config

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ServerTags.DYNAMIC_RECONFIGURATION_ENABLED, ""+(v==true), overwrite);
	
public voidsetDynamicReconfigurationEnabled(boolean v)
Modify the DynamicReconfigurationEnabled of the Element config

param
v the new value

		setAttributeValue(ServerTags.DYNAMIC_RECONFIGURATION_ENABLED, ""+(v==true));
	
public voidsetEjbContainer(EjbContainer value)

		this.setValue(EJB_CONTAINER, value);
	
public voidsetElementProperty(ElementProperty[] value)

		this.setValue(ELEMENT_PROPERTY, value);
	
public voidsetGroupManagementService(GroupManagementService value)

		this.setValue(GROUP_MANAGEMENT_SERVICE, value);
	
public voidsetHttpService(HttpService value)

		this.setValue(HTTP_SERVICE, value);
	
public voidsetIiopService(IiopService value)

		this.setValue(IIOP_SERVICE, value);
	
public voidsetJavaConfig(JavaConfig value)

		this.setValue(JAVA_CONFIG, value);
	
public voidsetJmsService(JmsService value)

		this.setValue(JMS_SERVICE, value);
	
public voidsetLogService(LogService value)

		this.setValue(LOG_SERVICE, value);
	
public voidsetManagementRules(ManagementRules value)

		this.setValue(MANAGEMENT_RULES, value);
	
public voidsetMdbContainer(MdbContainer value)

		this.setValue(MDB_CONTAINER, value);
	
public voidsetMonitoringService(MonitoringService value)

		this.setValue(MONITORING_SERVICE, value);
	
public voidsetName(java.lang.String v, boolean overwrite)
Modify the Name of the Element config

param
v the new value
throws
StaleWriteConfigException if overwrite is false and file changed on disk

		setAttributeValue(ServerTags.NAME, v, overwrite);
	
public voidsetName(java.lang.String v)
Modify the Name of the Element config

param
v the new value

		setAttributeValue(ServerTags.NAME, v);
	
public voidsetSecurityService(SecurityService value)

		this.setValue(SECURITY_SERVICE, value);
	
public voidsetSystemProperty(SystemProperty[] value)

		this.setValue(SYSTEM_PROPERTY, value);
	
public voidsetThreadPools(ThreadPools value)

		this.setValue(THREAD_POOLS, value);
	
public voidsetTransactionService(TransactionService value)

		this.setValue(TRANSACTION_SERVICE, value);
	
public voidsetWebContainer(WebContainer value)

		this.setValue(WEB_CONTAINER, value);
	
public intsizeElementProperty()

		return this.size(ELEMENT_PROPERTY);
	
public intsizeSystemProperty()

		return this.size(SYSTEM_PROPERTY);
	
public voidvalidate()