Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


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.


Method Summary
abstract  String getConnectionHealthChecking()
          Controls connection health checking for JMS resource reference pools that access this JMS foreign connection factory mapping.
abstract  String getPassword()
          The password used in conjunction with the user name specified in the Username parameter to access the remote connection factory.
abstract  byte[] getPasswordEncrypted()
          The encrypted value of the password.
abstract  String getUsername()
          The user name that is passed when opening a connection to the remote server (represented by this foreign connection factory).
abstract  void setConnectionHealthChecking(String value)
          Sets the value of the ConnectionHealthChecking attribute.
abstract  void setPassword(String password)
          Sets the value of the Password attribute.
abstract  void setPasswordEncrypted(byte[] passwordEncrypted)
          Sets the value of the PasswordEncrypted attribute.
abstract  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

 

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

setConnectionHealthChecking

void setConnectionHealthChecking(String value)

Sets the value of the ConnectionHealthChecking attribute.

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

Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09