JCAResourceMdlpublic class JCAResourceMdl extends J2EEResourceMdl
Fields Summary |
---|
private static String | MANAGED_OBJECT_TYPE | String | resourceAdapterCreates 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.String | getj2eeType()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.String | getpassword()
return password;
| public java.lang.String[] | getpropNames()
return propNames;
| public java.lang.String[] | getpropValues()
return propValues;
| public java.lang.String | getresourceAdapter()
return resourceAdapter;
| public java.lang.String | getusername()
return username;
|
|