Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02

weblogic.j2ee.descriptor.wl
Interface ForeignConnectionFactoryBean

All Superinterfaces:
ForeignJNDIObjectBean, NamedEntityBean, SettableBean

public interface ForeignConnectionFactoryBean
extends ForeignJNDIObjectBean

This bean represents a connection factory from a remote JNDI context.

Access limited to the following security roles:
Deployer

Method Summary
 String getConnectionHealthChecking()
          Controls connection health checking for JMS resource reference pools that access this JMS foreign connection factory mapping.
 String getPassword()
          The password used in conjunction with the user name specified in the Username parameter to access the remote connection factory.
 byte[] getPasswordEncrypted()
          The encrypted value of the password.
 String getUsername()
          The user name that is passed when opening a connection to the remote server (represented by this foreign connection factory).
 void setConnectionHealthChecking(String value)
          Sets the value of the ConnectionHealthChecking attribute.
 void setPassword(String password)
          Sets the value of the Password attribute.
 void setPasswordEncrypted(byte[] passwordEncrypted)
          Sets the value of the PasswordEncrypted attribute.
 void setUsername(String username)
          Sets the value of the Username attribute.
 
Methods inherited from interface weblogic.j2ee.descriptor.wl.ForeignJNDIObjectBean
getLocalJNDIName, getRemoteJNDIName, setLocalJNDIName, setRemoteJNDIName
 
Methods inherited from interface weblogic.j2ee.descriptor.wl.NamedEntityBean
getId, getName, getNotes, setName, setNotes
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 

Method Detail

getUsername

String getUsername()

The user name that is passed when opening a connection to the remote server (represented by this foreign connection factory).


setUsername

void setUsername(String username)
                 throws IllegalArgumentException

Sets the value of the Username attribute.

Parameters:
username - The username to use when accessing the remote connection factory
Throws:
IllegalArgumentException
See Also:
ForeignConnectionFactoryBean.getUsername()

getPasswordEncrypted

byte[] getPasswordEncrypted()

The encrypted value of the password.

Returns:
The encrypted password

setPasswordEncrypted

void setPasswordEncrypted(byte[] passwordEncrypted)

Sets the value of the PasswordEncrypted attribute.

Parameters:
passwordEncrypted - The encrypted value of the password
See Also:
ForeignConnectionFactoryBean.getPasswordEncrypted()

getPassword

String getPassword()

The password used in conjunction with the user name specified in the Username parameter to access the remote connection factory.

Returns:
The clear text value of the password if it can be determined

setPassword

void setPassword(String password)
                 throws IllegalArgumentException
Sets the value of the Password attribute.

Parameters:
password - The password to use when accessing the remote connection factory
Throws:
IllegalArgumentException
See Also:
ForeignConnectionFactoryBean.getPassword()

getConnectionHealthChecking

String getConnectionHealthChecking()

Controls connection health checking for JMS resource reference pools that access this JMS foreign connection factory mapping. The default value is Enabled.

Oracle recommends selecting Disabled only when directed to do so by customer support.

Returns:
true if the connection health testing is enabled
Default Value:
"enabled"

setConnectionHealthChecking

void setConnectionHealthChecking(String value)

Sets the value of the ConnectionHealthChecking attribute.

Parameters:
value - the new value for connectionHealthChecking
See Also:
ForeignConnectionFactoryBean.getConnectionHealthChecking()

Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.2)

Part Number E27170-02