Skip navigation links
com.bea.wlcp.wlng.api.util.cluster
Class ClusterHelper
java.lang.Object
com.bea.wlcp.wlng.api.util.cluster.ClusterHelper
- public class ClusterHelper
- extends Object
Helper class for clustering.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WLNG_AT_CLUSTER_TARGET
public static final String WLNG_AT_CLUSTER_TARGET
-
- See Also:
- Constant Field Values
WLNG_NT_CLUSTER_TARGET
public static final String WLNG_NT_CLUSTER_TARGET
-
- See Also:
- Constant Field Values
ClusterHelper
public ClusterHelper()
getAccessTierContext
public static Context getAccessTierContext()
throws NamingException
- Gets the JNDI Context for the access tier.
-
- Returns:
- Context.
- Throws:
NamingException
getAccessTierServerAddresses
public static String[] getAccessTierServerAddresses()
throws NamingException
-
- Throws:
NamingException
getContextByClusterName
public static Context getContextByClusterName(String clusterName)
throws NamingException
-
- Throws:
NamingException
getNetworkTierContext
public static Context getNetworkTierContext()
throws NamingException
- Deprecated.
- Use getNetworkTierContextTrafficRequest() or getNetworkTierContextAdministrationRequest() instead.
-
- Throws:
NamingException
getNetworkTierContextAdministrationRequest
public static Context getNetworkTierContextAdministrationRequest()
throws NamingException
-
- Throws:
NamingException
getNetworkTierContextTrafficRequest
public static Context getNetworkTierContextTrafficRequest()
throws NamingException
-
- Throws:
NamingException
getNetworkTierServerAddresses
public static String[] getNetworkTierServerAddresses()
throws NamingException
- Deprecated.
- Use getNetworkTierServerAddressesTrafficRequest() or getNetworkTierServerAddressesAdministrationRequest() instead.
-
- Throws:
NamingException
getNetworkTierServerAddressesAdministrationRequest
public static String[] getNetworkTierServerAddressesAdministrationRequest()
throws NamingException
-
- Throws:
NamingException
getNetworkTierServerAddressesTrafficRequest
public static String[] getNetworkTierServerAddressesTrafficRequest()
throws NamingException
-
- Throws:
NamingException
getServerSSLPort
public static int getServerSSLPort(ServerMBean server)
-
- Parameters:
server
-
- Returns:
- SSL listen port, or -1 if no SSL listen port is configured
isClusterPortSecured
public static boolean isClusterPortSecured(ClusterMBean clusterMbean)
isClusterPortSecured
public static boolean isClusterPortSecured(ServerMBean server)
isClusterPortSecured
public static boolean isClusterPortSecured(TargetMBean[] targets)
Skip navigation links
Copyright © 2008, 2015, Oracle and/or its affiliates. All rights reserved.