FileDocCategorySizeDatePackage
JCAResourceMdl.javaAPI DocGlassfish v2 API4321Fri May 04 22:24:16 BST 2007com.sun.enterprise.management.model

JCAResourceMdl

public class JCAResourceMdl extends J2EEResourceMdl

Fields Summary
private static String
MANAGED_OBJECT_TYPE
String
resourceAdapter
Creates new JCAResource
String
username
String
password
String[]
propNames
String[]
propValues
Constructors Summary
public JCAResourceMdl(String name, String raName, String username, String password, String[] propNames, String[] propValues)

                        
        
                               
                                
        super(name);
        resourceAdapter = raName;
        this.username = username;
        this.password = password;
        this.propNames = propNames;
        this.propValues = propValues;
    
public JCAResourceMdl(String name, String serverName, String raName, String username, String password, String[] propNames, String[] propValues)

        super(name, serverName);
        resourceAdapter = raName;
        this.username = username;
        this.password = password;
        this.propNames = propNames;
        this.propValues = propValues;
    
Methods Summary
public java.lang.String[]getconnectionFactories()

        Set s = findNames("j2eeType=JCAConnectionFactory,J2EEServer="+ this.getJ2EEServer() + ",JCAResource=" + getname());
        Iterator it = s.iterator();
        String [] ret = new String[s.size()];
        int i =0;
        while(it.hasNext()) {
            ret[i++] = ((ObjectName)it.next()).toString();
        }
        return ret;
    
public java.lang.Stringgetj2eeType()
The type of the J2EEManagedObject as specified by JSR77. The class that implements a specific type must override this method and return the appropriate type string.

        return MANAGED_OBJECT_TYPE;
    
public java.lang.Stringgetpassword()

        return password;
    
public java.lang.String[]getpropNames()

        return propNames;
    
public java.lang.String[]getpropValues()

        return propValues;
    
public java.lang.StringgetresourceAdapter()

        return resourceAdapter;
    
public java.lang.Stringgetusername()

        return username;