FileDocCategorySizeDatePackage
ResourceAdapterInfo.javaAPI DocGlassfish v2 API3514Fri May 04 22:33:18 BST 2007com.sun.enterprise.admin.common

ResourceAdapterInfo

public class ResourceAdapterInfo extends Object implements Serializable
A class representing the information about a JCA resource adapter.
author
Ari Shapiro
version
1.0

Fields Summary
private String
jndiName
the JNDI name of the resource adapter
private Properties
attrs
the attributes of the resource adapter
private static final String
DEBUG_LEVEL
these are the iAS specific attributes
private static final String
MAX_POOL_SIZE
private static final String
STEADY_POOL_SIZE
private static final String
MAX_WAIT
private static final String
UNUSED_MAX_LIFE
Constructors Summary
public ResourceAdapterInfo(String jndiName)

    
          
  
Methods Summary
private voidconvertAdapterProps(java.util.Set props)

     if (props != null) {
       Iterator itr = props.iterator();
       while (itr.hasNext()) {
         ResourceProperty prop = (ResourceProperty)itr.next();
         attrs.setProperty(prop.getName(),prop.getValue().toString());
       }
     }
   
public java.util.PropertiesgetAttrs()

     return attrs;
   
public java.lang.StringgetJndiName()

      return jndiName;
   
public java.lang.StringtoString()

     return jndiName + " " + attrs;