Methods Summary |
---|
public boolean | addAuthMechanism(AuthMechanism mech)Add a AuthMechanism object to the set return value :
false = found
true = not found
boolean flag=false;
for (Iterator itr = authMechanisms.iterator(); itr.hasNext();){
AuthMechanism next = (AuthMechanism) itr.next();
if (next.getAuthMechVal()==mech.getAuthMechVal()) {
return(flag);
}
}
flag=this.authMechanisms.add(mech);
this.setDirty();
this.changed();
return(flag);
|
public boolean | addAuthMechanism(int mech)Add a AuthMechanism object with given auth mech value to the set
return value : false = found
true = not found
boolean flag = false;
for (Iterator itr = authMechanisms.iterator(); itr.hasNext();){
AuthMechanism next = (AuthMechanism) itr.next();
if (next.getAuthMechVal() == mech)
return(flag);
}
String credInf = null;
if (mech == PoolManagerConstants.BASIC_PASSWORD) {
credInf = PoolManagerConstants.PASSWORD_CREDENTIAL;
} else {
credInf = PoolManagerConstants.GENERIC_CREDENTIAL;
}
AuthMechanism auth = new AuthMechanism("",mech, credInf);
flag = this.authMechanisms.add(auth);
this.setDirty();
this.changed();
return(flag);
|
public void | addConfigProperty(EnvironmentProperty configProperty)Add a configProperty to the set
getConnectionDef().getConfigProperties().add(configProperty);
|
public void | addConnectionDefDescriptor(ConnectionDefDescriptor conDefDesc)adds an entry to the set of connection definitions
this.connectionDefs.add(conDefDesc);
this.setDirty();
this.changed();
|
public void | changed()
super.changed();
|
public java.util.Set | getAuthMechanisms()Set of AuthMechanism objects
if (authMechanisms == null) {
authMechanisms = new OrderedSet();
}
return authMechanisms;
|
public java.util.Set | getConfigProperties()Set of EnvironmentProperty
return getConnectionDef().getConfigProperties();
|
public ConnectionDefDescriptor | getConnectionDef()
Iterator iter = connectionDefs.iterator();
ConnectionDefDescriptor conDef = (ConnectionDefDescriptor)iter.next();
return conDef;
|
public java.util.Set | getConnectionDefs()returns the set of connection definitions
return connectionDefs;
|
public java.lang.String | getConnectionFactoryImpl()Get connection factory impl
return getConnectionDef().getConnectionFactoryImpl();
|
public java.lang.String | getConnectionFactoryIntf()Get connection factory intf
return getConnectionDef().getConnectionFactoryIntf();
|
public java.lang.String | getConnectionImpl()Get connection impl
return getConnectionDef().getConnectionImpl();
|
public java.lang.String | getConnectionIntf()Get connection intf
return getConnectionDef().getConnectionIntf();
|
public java.lang.String | getManagedConnectionFactoryImpl()Gets the value of ManagedconnectionFactoryImpl
return getConnectionDef().getManagedConnectionFactoryImpl();
|
public java.lang.String | getReauthenticationSupport()
return String.valueOf(reauthenticationSupport);
|
public java.lang.String | getTransSupport()Returns NO_TRANSACTION, LOCAL_TRANSACTION, XA_TRANSACTION
as defined in PoolManagerConstants interface
if (transactionSupport == PoolManagerConstants.NO_TRANSACTION)
return ConnectorTagNames.DD_NO_TRANSACTION;
else if (transactionSupport == PoolManagerConstants.LOCAL_TRANSACTION)
return ConnectorTagNames.DD_LOCAL_TRANSACTION;
else
return ConnectorTagNames.DD_XA_TRANSACTION;
|
public int | getTransactionSupport()
return transactionSupport;
|
public boolean | isDirty()
return this.isDirty;
|
public boolean | removeAuthMechanism(AuthMechanism mech)Remove a AuthMechanism object to the set
return value : false = found
true = not found
boolean flag=false;
for (Iterator itr = authMechanisms.iterator(); itr.hasNext();){
AuthMechanism next = (AuthMechanism) itr.next();
if (next.equals(mech)) {
flag=this.authMechanisms.remove(mech);
this.setDirty();
this.changed();
return(flag);
}
}
return(flag);
|
public boolean | removeAuthMechanism(int mech)Remove a AuthMechanism object with given auth mech value from the set
return value : false = found
true = not found
boolean flag = false;
for (Iterator itr = authMechanisms.iterator(); itr.hasNext();){
AuthMechanism next = (AuthMechanism) itr.next();
if (next.getAuthMechVal()==mech)
{
flag = this.authMechanisms.remove(next);
this.setDirty();
this.changed();
return(flag);
}
}
return(flag);
|
public void | removeConfigProperty(EnvironmentProperty configProperty)Add a configProperty to the set
getConnectionDef().getConfigProperties().remove(configProperty);
|
public void | removeConnectionDefDescriptor(ConnectionDefDescriptor conDefDesc)removes an entry from the set of connection definitions
this.connectionDefs.remove(conDefDesc);
this.setDirty();
this.changed();
|
public void | setConnectionDef(ConnectionDefDescriptor conDef)For being able to read 1.0 and write 1.5
this.connectionDefs.add(conDef);
this.setDirty();
this.changed();
|
public void | setConnectionFactoryImpl(java.lang.String cf)set connection factory impl
getConnectionDef().setConnectionFactoryImpl(cf);
|
public void | setConnectionFactoryIntf(java.lang.String cf)set connection factory intf
getConnectionDef().setConnectionFactoryIntf(cf);
|
public void | setConnectionImpl(java.lang.String con)set connection intf
getConnectionDef().setConnectionImpl(con);
|
public void | setConnectionIntf(java.lang.String con)set connection intf
getConnectionDef().setConnectionIntf(con);
|
private void | setDirty()
this.isDirty = true;
|
public void | setManagedConnectionFactoryImpl(java.lang.String managedConnectionFactoryImpl)Sets the value of ManagedconnectionFactoryImpl
getConnectionDef().setManagedConnectionFactoryImpl(managedConnectionFactoryImpl);
|
public void | setReauthenticationSupport(boolean reauthenticationSupport)Sets the value of supportsReauthentication
this.reauthenticationSupport = reauthenticationSupport;
this.setDirty();
this.changed();
|
public void | setReauthenticationSupport(java.lang.String reauthSupport)sets the value of supportsReauthentication
DOL rearchitecture
this.reauthenticationSupport =
(Boolean.valueOf(reauthSupport)).booleanValue();
this.setDirty();
this.changed();
|
public void | setTransactionSupport(int transactionSupport)Set value of transactionSupport to NO_TRANSACTION,
LOCAL_TRANSACTION, XA_TRANSACTION as defined in
PoolManagerConstants interface
this.transactionSupport = transactionSupport;
this.setDirty();
this.changed();
|
public void | setTransactionSupport(java.lang.String support)Set value of transactionSupport to NO_TRANSACTION,
LOCAL_TRANSACTION, XA_TRANSACTION as defined in
PoolManagerConstants interface
if (ConnectorTagNames.DD_NO_TRANSACTION.equals(support))
this.transactionSupport = PoolManagerConstants.NO_TRANSACTION;
else if (ConnectorTagNames.DD_LOCAL_TRANSACTION.equals(support))
this.transactionSupport = PoolManagerConstants.LOCAL_TRANSACTION;
else
this.transactionSupport = PoolManagerConstants.XA_TRANSACTION;
this.setDirty();
this.changed();
|
public boolean | supportsReauthentication()Gets the value of supportsReauthentication
return reauthenticationSupport;
|