Methods Summary |
---|
public java.lang.String | getAuthorizationType()
return resAuth;
|
public java.lang.String | getJndiName()
return jndiName;
|
public java.lang.String | getMappedName()
return mappedName;
|
public java.lang.String | getResAuth()
return resAuth;
|
public java.lang.String | getResRefName()
return resRefName;
|
public java.lang.String | getResSharingScope()
return resSharingScope;
|
public java.lang.String | getResType()
return resType;
|
public java.lang.String | getResourceName()
return resourceName;
|
public boolean | isShareable()
if (resSharingScope == null || resSharingScope.equals("Shareable"))
return true;
else
return false;
|
public void | merge(org.jboss.metamodel.descriptor.ResourceEnvRef ref)
if (ref.getJndiName() != null)
{
this.setJndiName(ref.getJndiName());
setMappedName(ref.getJndiName());
}
if (ref.getResourceName() != null)
{
this.setResourceName(ref.getResourceName());
String mappedName = ref.getResourceName();
if (mappedName.startsWith("java:"))
this.setMappedName(ref.getResourceName());
else
this.setMappedName("java:" + ref.getResourceName());
}
|
public void | setJndiName(java.lang.String jndiName)
this.jndiName = jndiName;
this.mappedName = jndiName;
|
public void | setMappedName(java.lang.String mappedName)
this.mappedName = mappedName;
|
public void | setResAuth(java.lang.String resAuth)
this.resAuth = resAuth;
|
public void | setResRefName(java.lang.String resRefName)
this.resRefName = resRefName;
|
public void | setResSharingScope(java.lang.String resSharingScope)
this.resSharingScope = resSharingScope;
|
public void | setResType(java.lang.String resType)
this.resType = resType;
|
public void | setResourceName(java.lang.String resourceName)
this.resourceName = resourceName;
|
public java.lang.String | toString()
StringBuffer sb = new StringBuffer(100);
sb.append("[ResourceEnvRef:");
sb.append("resRefName=").append(resRefName);
sb.append(",resType=").append(resType);
sb.append(",jndiName=").append(jndiName);
sb.append(",mappedName=").append(mappedName);
sb.append("]");
return sb.toString();
|