Oracle Communications Services Gatekeeper Java API Reference
7.0.0.1

E96578-01

com.bea.wlcp.wlng.api.util.cluster
Class ClusterHelper

java.lang.Object
  extended bycom.bea.wlcp.wlng.api.util.cluster.ClusterHelper

public class ClusterHelper
extends java.lang.Object

Helper class for clustering.


Field Summary
static java.lang.String WLNG_AT_CLUSTER_TARGET
           
static java.lang.String WLNG_NT_CLUSTER_TARGET
           
 
Constructor Summary
ClusterHelper()
           
 
Method Summary
static javax.naming.Context getAccessTierContext()
          Gets the JNDI Context for the access tier.
static java.lang.String[] getAccessTierServerAddresses()
          Get AT addresses.
static javax.naming.Context getContextByClusterName(java.lang.String clusterName)
          Get context by cluster name.
static javax.naming.Context getNetworkTierContext()
          Deprecated.  
static javax.naming.Context getNetworkTierContextAdministrationRequest()
           
static javax.naming.Context getNetworkTierContextTrafficRequest()
           
static java.lang.String[] getNetworkTierServerAddresses()
          Deprecated.  
static java.lang.String[] getNetworkTierServerAddressesAdministrationRequest()
          Get network tier server addresses Administration request.
static java.lang.String[] getNetworkTierServerAddressesTrafficRequest()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WLNG_AT_CLUSTER_TARGET

public static final java.lang.String WLNG_AT_CLUSTER_TARGET
See Also:
Constant Field Values

WLNG_NT_CLUSTER_TARGET

public static final java.lang.String WLNG_NT_CLUSTER_TARGET
See Also:
Constant Field Values
Constructor Detail

ClusterHelper

public ClusterHelper()
Method Detail

getAccessTierContext

public static javax.naming.Context getAccessTierContext()
                                                 throws javax.naming.NamingException
Gets the JNDI Context for the access tier.

Returns:
Context.
Throws:
javax.naming.NamingException

getAccessTierServerAddresses

public static java.lang.String[] getAccessTierServerAddresses()
                                                       throws javax.naming.NamingException
Get AT addresses.

Returns:
- AT address list.
Throws:
javax.naming.NamingException - - Exception if failed.

getContextByClusterName

public static javax.naming.Context getContextByClusterName(java.lang.String clusterName)
                                                    throws javax.naming.NamingException
Get context by cluster name.

Parameters:
clusterName - - Cluster name.
Returns:
- context.
Throws:
javax.naming.NamingException - - If failed.

getNetworkTierContext

public static javax.naming.Context getNetworkTierContext()
                                                  throws javax.naming.NamingException
Deprecated.  

Use getNetworkTierContextTrafficRequest() or getNetworkTierContextAdministrationRequest() instead.

Throws:
javax.naming.NamingException

getNetworkTierContextAdministrationRequest

public static javax.naming.Context getNetworkTierContextAdministrationRequest()
                                                                       throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getNetworkTierContextTrafficRequest

public static javax.naming.Context getNetworkTierContextTrafficRequest()
                                                                throws javax.naming.NamingException
Throws:
javax.naming.NamingException

getNetworkTierServerAddresses

public static java.lang.String[] getNetworkTierServerAddresses()
                                                        throws javax.naming.NamingException
Deprecated.  

Use getNetworkTierServerAddressesTrafficRequest() or getNetworkTierServerAddressesAdministrationRequest() instead.

Throws:
javax.naming.NamingException

getNetworkTierServerAddressesAdministrationRequest

public static java.lang.String[] getNetworkTierServerAddressesAdministrationRequest()
                                                                             throws javax.naming.NamingException
Get network tier server addresses Administration request.

Returns:
- AT address list.
Throws:
javax.naming.NamingException - - If failed.

getNetworkTierServerAddressesTrafficRequest

public static java.lang.String[] getNetworkTierServerAddressesTrafficRequest()
                                                                      throws javax.naming.NamingException
Throws:
javax.naming.NamingException

Oracle Communications Services Gatekeeper Java API Reference
7.0.0.1

E96578-01

Copyright © 2008, 2018, Oracle and/or its affiliates. All rights reserved.