FileDocCategorySizeDatePackage
ResourceRef.javaAPI DocGlassfish v2 API3505Fri May 04 22:31:52 BST 2007com.sun.enterprise.deployment.runtime.common

ResourceRef

public class ResourceRef extends com.sun.enterprise.deployment.runtime.RuntimeDescriptor
this class is a shameful duplication of info found in normal descriptors it was kept to be backward compatible with the schema2beans descriptors generated by iAS 7.0 engineering team.
author
Jerome Dochez

Fields Summary
public static final String
RES_REF_NAME
public static final String
JNDI_NAME
public static final String
DEFAULT_RESOURCE_PRINCIPAL
Constructors Summary
Methods Summary
public DefaultResourcePrincipalgetDefaultResourcePrincipal()

	return (DefaultResourcePrincipal)this.getValue(DEFAULT_RESOURCE_PRINCIPAL);
    
public java.lang.StringgetJndiName()

	return (String)this.getValue(JNDI_NAME);
    
public java.lang.StringgetResRefName()

	return (String)this.getValue(RES_REF_NAME);
    
public voidsetDefaultResourcePrincipal(DefaultResourcePrincipal value)

	this.setValue(DEFAULT_RESOURCE_PRINCIPAL, value);
    
public voidsetJndiName(java.lang.String value)

	this.setValue(JNDI_NAME, value);
    
public voidsetResRefName(java.lang.String value)

	// NOI18N
    
    // This attribute is mandatory
       
    
	this.setValue(RES_REF_NAME, value);
    
public booleanverify()

	return true;