public abstract class BBjAdminFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BBjAdminFactory.BBjAdminImplConnection |
static class |
BBjAdminFactory.BBjAdminImplConnectionStream |
static class |
BBjAdminFactory.BBjAdminStubConnection |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BBJADMIN_REMOTE_HANDLE |
static int |
DEFAULT_PORT |
static int |
DEFAULT_TIMEOUT |
static int |
PROTOCOL_VERSION |
Constructor and Description |
---|
BBjAdminFactory() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getAuthToken(java.net.InetAddress p_host,
int p_port,
boolean p_ssl,
int p_timeout,
java.lang.String p_user,
java.lang.String p_password,
java.util.Locale p_locale)
Get a BBjAdmin object for a remote BBjServices on the specified port.
|
static java.lang.String |
getAuthToken(java.net.InetAddress p_host,
int p_port,
boolean p_ssl,
int p_timeout,
java.lang.String p_user,
java.lang.String p_password,
java.util.Locale p_locale,
java.lang.String p_keystore,
java.lang.String p_keypass) |
static java.lang.String |
getAuthToken(java.net.InetAddress p_host,
int p_port,
boolean p_ssl,
java.lang.String p_user,
java.lang.String p_password)
Get a BBjAdmin object for a remote BBjServices on the specified port.
|
static java.lang.String |
getAuthToken(java.net.InetAddress p_host,
int p_port,
boolean p_ssl,
java.lang.String p_user,
java.lang.String p_password,
java.lang.String p_keystore,
java.lang.String p_keypass)
Get a BBjAdmin object for a remote BBjServices on the specified port.
|
static java.lang.String |
getAuthToken(java.net.InetAddress p_host,
java.lang.String p_user,
java.lang.String p_password)
Get a BBjAdmin object for a remote BBjServices on the default port.
|
static java.lang.String |
getAuthToken(java.lang.String p_user,
java.lang.String p_password)
Get a default BBjAdmin object.
|
static BBjAdminBase |
getBBjAdmin(java.net.InetAddress p_host,
int p_port,
boolean p_ssl,
int p_timeout,
java.lang.String p_authorizationToken)
Get a BBjAdmin object for a remote BBjServices on the specified port.
|
static BBjAdminBase |
getBBjAdmin(java.net.InetAddress p_host,
int p_port,
boolean p_ssl,
int p_timeout,
java.lang.String p_user,
java.lang.String p_password)
Get a BBjAdmin object for a remote BBjServices on the specified port.
|
static BBjAdminBase |
getBBjAdmin(java.net.InetAddress p_host,
int p_port,
boolean p_ssl,
int p_timeout,
java.lang.String p_user,
java.lang.String p_password,
java.util.Locale p_locale)
Get a BBjAdmin object for a remote BBjServices on the specified port.
|
static BBjAdminBase |
getBBjAdmin(java.net.InetAddress p_host,
int p_port,
boolean p_ssl,
int p_timeout,
java.lang.String p_user,
java.lang.String p_password,
java.util.Locale p_locale,
java.lang.String p_keystore,
java.lang.String p_keypass)
Get a BBjAdmin object for a remote BBjServices on the specified port.
|
static BBjAdminBase |
getBBjAdmin(java.net.InetAddress p_host,
int p_port,
boolean p_ssl,
int p_timeout,
java.lang.String p_user,
java.lang.String p_password,
java.lang.String p_keystore,
java.lang.String p_keypass)
Get a BBjAdmin object for a remote BBjServices on the specified port.
|
static BBjAdminBase |
getBBjAdmin(java.net.InetAddress p_host,
int p_port,
boolean p_ssl,
java.lang.String p_token) |
static BBjAdminBase |
getBBjAdmin(java.net.InetAddress p_host,
int p_port,
boolean p_ssl,
java.lang.String p_user,
java.lang.String p_password)
Get a BBjAdmin object for a remote BBjServices on the specified port.
|
static BBjAdminBase |
getBBjAdmin(java.net.InetAddress p_host,
int p_port,
boolean p_ssl,
java.lang.String p_user,
java.lang.String p_password,
java.util.Locale p_locale)
Get a BBjAdmin object for a remote BBjServices on the specified port.
|
static BBjAdminBase |
getBBjAdmin(java.net.InetAddress p_host,
int p_port,
boolean p_ssl,
java.lang.String p_user,
java.lang.String p_password,
java.util.Locale p_locale,
java.lang.String p_keystore,
java.lang.String p_keypass)
Get a BBjAdmin object for a remote BBjServices on the specified port.
|
static BBjAdminBase |
getBBjAdmin(java.net.InetAddress p_host,
int p_port,
boolean p_ssl,
java.lang.String p_user,
java.lang.String p_password,
java.lang.String p_keystore,
java.lang.String p_keypass)
Get a BBjAdmin object for a remote BBjServices on the specified port.
|
static BBjAdminBase |
getBBjAdmin(java.net.InetAddress p_host,
java.lang.String p_authorizationToken)
Get a BBjAdmin object for a remote BBjServices on the default port.
|
static BBjAdminBase |
getBBjAdmin(java.net.InetAddress p_host,
java.lang.String p_user,
java.lang.String p_password)
Get a BBjAdmin object for a remote BBjServices on the default port.
|
static BBjAdminBase |
getBBjAdmin(java.net.InetAddress p_host,
java.lang.String p_user,
java.lang.String p_password,
java.util.Locale p_locale)
Get a BBjAdmin object for a remote BBjServices on the default port.
|
static BBjAdminBase |
getBBjAdmin(java.lang.String p_authorizationToken)
Get a default BBjAdmin object.
|
static BBjAdminBase |
getBBjAdmin(java.lang.String p_user,
java.lang.String p_password)
Get a default BBjAdmin object.
|
static BBjAdminBase |
getBBjAdmin(java.lang.String p_user,
java.lang.String p_password,
java.net.InetAddress p_serverHost,
int p_serverPort,
java.net.InetAddress p_clientHost,
int p_clientPort)
Get a default BBjAdmin object.
|
static BBjAdminBase |
getBBjAdmin(java.lang.String p_user,
java.lang.String p_password,
java.net.InetAddress p_serverHost,
int p_serverPort,
java.net.InetAddress p_clientHost,
int p_clientPort,
java.util.Locale p_locale)
Get a default BBjAdmin object.
|
static BBjAdminBase |
getBBjAdmin(java.lang.String p_user,
java.lang.String p_password,
java.util.Locale p_locale)
Get a default BBjAdmin object.
|
static java.lang.String |
renewAuthToken(java.net.InetAddress p_host,
int p_port,
boolean p_ssl,
int p_timeout,
java.lang.String p_authorizationToken,
java.util.Locale p_locale)
Get a BBjAdmin object for a remote BBjServices on the specified port.
|
static java.lang.String |
renewAuthToken(java.net.InetAddress p_host,
int p_port,
boolean p_ssl,
int p_timeout,
java.lang.String p_authorizationToken,
java.util.Locale p_locale,
java.lang.String p_keystore,
java.lang.String p_keypass) |
static java.lang.String |
renewAuthToken(java.net.InetAddress p_host,
int p_port,
boolean p_ssl,
java.lang.String p_authorizationToken)
Get a BBjAdmin object for a remote BBjServices on the specified port.
|
static java.lang.String |
renewAuthToken(java.net.InetAddress p_host,
int p_port,
boolean p_ssl,
java.lang.String p_authorizationToken,
java.lang.String p_keystore,
java.lang.String p_keypass)
Get a BBjAdmin object for a remote BBjServices on the specified port.
|
static java.lang.String |
renewAuthToken(java.net.InetAddress p_host,
java.lang.String p_authorizationToken)
Get a BBjAdmin object for a remote BBjServices on the default port.
|
static java.lang.String |
renewAuthToken(java.lang.String p_authorizationToken)
Get a default BBjAdmin object.
|
public static final int DEFAULT_PORT
public static final int PROTOCOL_VERSION
public static final int DEFAULT_TIMEOUT
public static final java.lang.String BBJADMIN_REMOTE_HANDLE
public static BBjAdminBase getBBjAdmin(java.lang.String p_user, java.lang.String p_password, java.util.Locale p_locale) throws BBjAdminException
p_user
- User name.p_password
- User password.BBjAdminException
public static BBjAdminBase getBBjAdmin(java.lang.String p_user, java.lang.String p_password) throws BBjAdminException
p_user
- User name.p_password
- User password.BBjAdminException
public static BBjAdminBase getBBjAdmin(java.lang.String p_authorizationToken) throws BBjAdminException
p_authorizationToken
- Token identifying the user. This should be acquired with a call to getAuthToken().BBjAdminException
public static BBjAdminBase getBBjAdmin(java.lang.String p_user, java.lang.String p_password, java.net.InetAddress p_serverHost, int p_serverPort, java.net.InetAddress p_clientHost, int p_clientPort, java.util.Locale p_locale) throws BBjAdminException
p_user
- User name.p_password
- User password.p_serverHost
- p_serverPort
- p_clientHost
- p_clientPort
- BBjAdminException
public static BBjAdminBase getBBjAdmin(java.lang.String p_user, java.lang.String p_password, java.net.InetAddress p_serverHost, int p_serverPort, java.net.InetAddress p_clientHost, int p_clientPort) throws BBjAdminException
p_user
- User name.p_password
- User password.p_serverHost
- p_serverPort
- p_clientHost
- p_clientPort
- BBjAdminException
public static BBjAdminBase getBBjAdmin(java.net.InetAddress p_host, java.lang.String p_user, java.lang.String p_password, java.util.Locale p_locale) throws BBjAdminException
p_host
- Remote host.p_user
- User name.p_password
- User password.BBjAdminException
public static BBjAdminBase getBBjAdmin(java.net.InetAddress p_host, java.lang.String p_user, java.lang.String p_password) throws BBjAdminException
p_host
- Remote host.p_user
- User name.p_password
- User password.BBjAdminException
public static BBjAdminBase getBBjAdmin(java.net.InetAddress p_host, java.lang.String p_authorizationToken) throws BBjAdminException
p_host
- Remote host.p_authorizationToken
- Token identifying the user. This should be acquired via a call to getAuthToken().BBjAdminException
public static BBjAdminBase getBBjAdmin(java.net.InetAddress p_host, int p_port, boolean p_ssl, java.lang.String p_user, java.lang.String p_password, java.util.Locale p_locale) throws BBjAdminException
p_host
- Remote host.p_port
- Remote port.p_ssl
- Should we use SSL to connect?p_user
- User name.p_password
- User password.BBjAdminException
public static BBjAdminBase getBBjAdmin(java.net.InetAddress p_host, int p_port, boolean p_ssl, java.lang.String p_user, java.lang.String p_password, java.util.Locale p_locale, java.lang.String p_keystore, java.lang.String p_keypass) throws BBjAdminException
p_host
- Remote host.p_port
- Remote port.p_ssl
- Should we use SSL to connect?p_user
- User name.p_password
- User password.p_keystore
- Keystore for SSL/TLS certificate validation (null uses default
validation).p_keypass
- Password for keystore.BBjAdminException
public static BBjAdminBase getBBjAdmin(java.net.InetAddress p_host, int p_port, boolean p_ssl, java.lang.String p_user, java.lang.String p_password) throws BBjAdminException
p_host
- Remote host.p_port
- Remote port.p_ssl
- Should we use SSL to connect?p_user
- User name.p_password
- User password.BBjAdminException
public static BBjAdminBase getBBjAdmin(java.net.InetAddress p_host, int p_port, boolean p_ssl, java.lang.String p_token) throws BBjAdminException
BBjAdminException
public static BBjAdminBase getBBjAdmin(java.net.InetAddress p_host, int p_port, boolean p_ssl, java.lang.String p_user, java.lang.String p_password, java.lang.String p_keystore, java.lang.String p_keypass) throws BBjAdminException
p_host
- Remote host.p_port
- Remote port.p_ssl
- Should we use SSL to connect?p_user
- User name.p_password
- User password.p_keystore
- Keystore for SSL/TLS certificate validation (null uses default
validation).p_keypass
- Password for keystore.BBjAdminException
public static BBjAdminBase getBBjAdmin(java.net.InetAddress p_host, int p_port, boolean p_ssl, int p_timeout, java.lang.String p_user, java.lang.String p_password, java.util.Locale p_locale) throws BBjAdminException
p_host
- Remote host.p_port
- Remote port.p_ssl
- Should we use SSL to connect?p_timeout
- Connection timeout in milliseconds. A timeout of less than or
equal to 0 disables the timeout.p_user
- User name.p_password
- User password.BBjAdminException
public static BBjAdminBase getBBjAdmin(java.net.InetAddress p_host, int p_port, boolean p_ssl, int p_timeout, java.lang.String p_user, java.lang.String p_password, java.util.Locale p_locale, java.lang.String p_keystore, java.lang.String p_keypass) throws BBjAdminException
p_host
- Remote host.p_port
- Remote port.p_ssl
- Should we use SSL to connect?p_timeout
- Connection timeout in milliseconds. A timeout of less than or
equal to 0 disables the timeout.p_user
- User name.p_password
- User password.p_keystore
- Keystore for SSL/TLS certificate validation (null uses default
validation).p_keypass
- Password for keystore.BBjAdminException
public static BBjAdminBase getBBjAdmin(java.net.InetAddress p_host, int p_port, boolean p_ssl, int p_timeout, java.lang.String p_user, java.lang.String p_password) throws BBjAdminException
p_host
- Remote host.p_port
- Remote port.p_ssl
- Should we use SSL to connect?p_timeout
- Connection timeout in milliseconds. A timeout of less than or
equal to 0 disables the timeout.p_user
- User name.p_password
- User password.BBjAdminException
public static BBjAdminBase getBBjAdmin(java.net.InetAddress p_host, int p_port, boolean p_ssl, int p_timeout, java.lang.String p_authorizationToken) throws BBjAdminException
p_host
- Remote host.p_port
- Remote port.p_ssl
- Should we use SSL to connect?p_timeout
- Connection timeout in milliseconds. A timeout of less than or
equal to 0 disables the timeout.p_authorizationToken
- Token identifying the user. This should be acquired via a call to getAuthToken().BBjAdminException
public static BBjAdminBase getBBjAdmin(java.net.InetAddress p_host, int p_port, boolean p_ssl, int p_timeout, java.lang.String p_user, java.lang.String p_password, java.lang.String p_keystore, java.lang.String p_keypass) throws BBjAdminException
p_host
- Remote host.p_port
- Remote port.p_ssl
- Should we use SSL to connect?p_timeout
- Connection timeout in milliseconds. A timeout of less than or
equal to 0 disables the timeout.p_user
- User name.p_password
- User password.p_keystore
- Keystore for SSL/TLS certificate validation (null uses default
validation).p_keypass
- Password for keystore.BBjAdminException
public static java.lang.String getAuthToken(java.lang.String p_user, java.lang.String p_password) throws BBjAdminException
p_user
- User name.p_password
- User password.BBjAdminException
public static java.lang.String getAuthToken(java.net.InetAddress p_host, java.lang.String p_user, java.lang.String p_password) throws BBjAdminException
p_host
- Remote host.p_user
- User name.p_password
- User password.BBjAdminException
public static java.lang.String getAuthToken(java.net.InetAddress p_host, int p_port, boolean p_ssl, java.lang.String p_user, java.lang.String p_password) throws BBjAdminException
p_host
- Remote host.p_port
- Remote port.p_ssl
- Should we use SSL to connect?p_user
- User name.p_password
- User password.BBjAdminException
public static java.lang.String getAuthToken(java.net.InetAddress p_host, int p_port, boolean p_ssl, java.lang.String p_user, java.lang.String p_password, java.lang.String p_keystore, java.lang.String p_keypass) throws BBjAdminException
p_host
- Remote host.p_port
- Remote port.p_ssl
- Should we use SSL to connect?p_user
- User name.p_password
- User password.p_keystore
- Keystore for SSL/TLS certificate validation (null uses default
validation).p_keypass
- Password for keystore.BBjAdminException
public static java.lang.String getAuthToken(java.net.InetAddress p_host, int p_port, boolean p_ssl, int p_timeout, java.lang.String p_user, java.lang.String p_password, java.util.Locale p_locale) throws BBjAdminException
p_host
- Remote host.p_port
- Remote port.p_ssl
- Should we use SSL to connect?p_timeout
- Connection timeout in milliseconds. A timeout of less than or
equal to 0 disables the timeout.p_user
- User name.p_password
- User password.BBjAdminException
public static java.lang.String getAuthToken(java.net.InetAddress p_host, int p_port, boolean p_ssl, int p_timeout, java.lang.String p_user, java.lang.String p_password, java.util.Locale p_locale, java.lang.String p_keystore, java.lang.String p_keypass) throws BBjAdminException
BBjAdminException
public static java.lang.String renewAuthToken(java.net.InetAddress p_host, int p_port, boolean p_ssl, int p_timeout, java.lang.String p_authorizationToken, java.util.Locale p_locale, java.lang.String p_keystore, java.lang.String p_keypass) throws BBjAdminException
BBjAdminException
public static java.lang.String renewAuthToken(java.lang.String p_authorizationToken) throws BBjAdminException
p_authorizationToken
- Token to be renewed.BBjAdminException
public static java.lang.String renewAuthToken(java.net.InetAddress p_host, java.lang.String p_authorizationToken) throws BBjAdminException
p_host
- Remote host.p_authorizationToken
- Token to be renewed.BBjAdminException
public static java.lang.String renewAuthToken(java.net.InetAddress p_host, int p_port, boolean p_ssl, java.lang.String p_authorizationToken) throws BBjAdminException
p_host
- Remote host.p_port
- Remote port.p_ssl
- Should we use SSL to connect?p_authorizationToken
- BBjAdminException
public static java.lang.String renewAuthToken(java.net.InetAddress p_host, int p_port, boolean p_ssl, java.lang.String p_authorizationToken, java.lang.String p_keystore, java.lang.String p_keypass) throws BBjAdminException
p_host
- Remote host.p_port
- Remote port.p_ssl
- Should we use SSL to connect?p_authorizationToken
- p_keystore
- Keystore for SSL/TLS certificate validation (null uses default
validation).p_keypass
- Password for keystore.BBjAdminException
public static java.lang.String renewAuthToken(java.net.InetAddress p_host, int p_port, boolean p_ssl, int p_timeout, java.lang.String p_authorizationToken, java.util.Locale p_locale) throws BBjAdminException
p_host
- Remote host.p_port
- Remote port.p_ssl
- Should we use SSL to connect?p_timeout
- Connection timeout in milliseconds. A timeout of less than or
equal to 0 disables the timeout.p_authorizationToken
- BBjAdminException