FileDocCategorySizeDatePackage
ConnectorService.javaAPI DocGlassfish v2 API4328Tue Feb 21 12:28:16 GMT 2006com.sun.enterprise.config.serverbeans

ConnectorService

public class ConnectorService extends com.sun.enterprise.config.ConfigBean implements Serializable
This generated bean class ConnectorService matches the DTD element connector-service

Fields Summary
static Vector
comparators
private static final org.netbeans.modules.schema2beans.Version
runtimeVersion
Constructors Summary
public ConnectorService()



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

		super(comparators, runtimeVersion);
		// Properties (see root bean comments for the bean graph)
		initPropertyTables(0);
		this.initialize(options);
	
Methods Summary
public static voidaddComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.add(c);
	
public voiddump(java.lang.StringBuffer str, java.lang.String indent)

		String s;
		Object o;
		org.netbeans.modules.schema2beans.BaseBean n;
	
public java.lang.StringdumpBeanNode()

		StringBuffer str = new StringBuffer();
		str.append("ConnectorService\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public static java.lang.StringgetDefaultAttributeValue(java.lang.String attr)

		if(attr == null) return null;
		attr = attr.trim();
		if(attr.equals(ServerTags.SHUTDOWN_TIMEOUT_IN_SECONDS)) return "30".trim();
	return null;
	
public static java.lang.StringgetDefaultShutdownTimeoutInSeconds()
Get the default value of ShutdownTimeoutInSeconds from dtd

		return "30".trim();
	
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 = "connector-service";
	    return (null != ret ? ret.trim() : null);
	
public java.lang.StringgetShutdownTimeoutInSeconds()
Getter for ShutdownTimeoutInSeconds of the Element connector-service

return
the ShutdownTimeoutInSeconds of the Element connector-service

		return getAttributeValue(ServerTags.SHUTDOWN_TIMEOUT_IN_SECONDS);
	
voidinitialize(int options)


	
public static voidremoveComparator(org.netbeans.modules.schema2beans.BeanComparator c)

		comparators.remove(c);
	
public voidsetShutdownTimeoutInSeconds(java.lang.String v, boolean overwrite)
Modify the ShutdownTimeoutInSeconds of the Element connector-service

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

		setAttributeValue(ServerTags.SHUTDOWN_TIMEOUT_IN_SECONDS, v, overwrite);
	
public voidsetShutdownTimeoutInSeconds(java.lang.String v)
Modify the ShutdownTimeoutInSeconds of the Element connector-service

param
v the new value

		setAttributeValue(ServerTags.SHUTDOWN_TIMEOUT_IN_SECONDS, v);
	
public voidvalidate()