FileDocCategorySizeDatePackage
RegistryLocation.javaAPI DocGlassfish v2 API4226Tue Feb 21 12:28:22 GMT 2006com.sun.enterprise.config.serverbeans

RegistryLocation

public class RegistryLocation extends com.sun.enterprise.config.ConfigBean implements Serializable
This generated bean class RegistryLocation matches the DTD element registry-location

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



	  
		this(Common.USE_DEFAULT_VALUES);
	
public RegistryLocation(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("RegistryLocation\n");	// NOI18N
		this.dump(str, "\n  ");	// NOI18N
		return str.toString();
	
public java.lang.StringgetConnectorResourceJndiName()
Getter for ConnectorResourceJndiName of the Element registry-location

return
the ConnectorResourceJndiName of the Element registry-location

		return getAttributeValue(ServerTags.CONNECTOR_RESOURCE_JNDI_NAME);
	
public static java.lang.StringgetDefaultAttributeValue(java.lang.String attr)

		if(attr == null) return null;
		attr = attr.trim();
	return null;
	
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 = "registry-location" + (canHaveSiblings() ? "[@connector-resource-jndi-name='" + getAttributeValue("connector-resource-jndi-name") +"']" : "") ;
	    return (null != ret ? ret.trim() : null);
	
voidinitialize(int options)


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

		comparators.remove(c);
	
public voidsetConnectorResourceJndiName(java.lang.String v, boolean overwrite)
Modify the ConnectorResourceJndiName of the Element registry-location

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

		setAttributeValue(ServerTags.CONNECTOR_RESOURCE_JNDI_NAME, v, overwrite);
	
public voidsetConnectorResourceJndiName(java.lang.String v)
Modify the ConnectorResourceJndiName of the Element registry-location

param
v the new value

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