|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This bean represents a cluster in the domain. Servers join a cluster by calling ServerMBean.setCluster with the logical name of the cluster. A configuration may define zero or more clusters. They may be looked up by logical name. The name of a cluster denotes its logical cluster name.
Fields inherited from class weblogic.management.configuration.TargetMBean |
CACHING_STUB_SVUID |
Fields inherited from class weblogic.management.configuration.ConfigurationMBean |
CACHING_STUB_SVUID,
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
java.lang.String |
getClusterAddress()
Defines the address to be used by clients to connect to this cluster. |
java.lang.String |
getDefaultLoadAlgorithm()
Defines the algorithm to be used for load-balancing between replicated services if none is specified for a particular service. |
java.lang.String |
getFrontendHost()
Sets the HTTP FrontendHost for the default webserver (not virtual hosts) for all the servers in the cluster. |
int |
getFrontendHTTPPort()
Sets the FrontendHTTPPort for the default webserver (not virtual hosts) for all the servers in the cluster. |
int |
getFrontendHTTPSPort()
Sets the FrontendHTTPSPort for the default webserver (not virtual hosts) for all the servers in the cluster. |
int |
getIdlePeriodsUntilTimeout()
Maximum number of periods that a cluster member will wait before timing out a member of a cluster. |
java.lang.String |
getMulticastAddress()
Defines the multicast address used by cluster members to communicate with each other. |
int |
getMulticastBufferSize()
Returns the multicast socket send/receive buffer size. |
boolean |
getMulticastDataEncryption()
Servers in a cluster send multicast messages. |
int |
getMulticastPort()
Defines the multicast port used by cluster members to communicate with each other. |
int |
getMulticastSendDelay()
Defines the number of milliseconds to delay sending message fragments over multicast in order to avoid OS-level buffer overflow. |
int |
getMulticastTTL()
Defines the number of network hops that a cluster multicast message is allowed to travel. |
ServerMBean[] |
getServers()
The servers which have declared membership in this cluster. |
boolean |
isClientCertProxyEnabled()
Gets the clientCertProxyEnabled attribute of the ClusterMBean object |
boolean |
isHttpTraceSupportEnabled()
|
boolean |
isWeblogicPluginEnabled()
Gets the weblogicPluginEnabled attribute of the ClusterMBean object |
java.util.HashMap |
kill()
Used to force a Shutdown of all the servers belonging to the Cluster. |
void |
setClientCertProxyEnabled(boolean ccp)
A value of true causes proxy-server plugins
to pass identity certificates from clients to all web
applications that are deployed on all server instances in
the cluster. |
void |
setClusterAddress(java.lang.String address)
Sets the cluster's address. |
void |
setDefaultLoadAlgorithm(java.lang.String value)
Sets the default load balancing algorithm. |
void |
setFrontendHost(java.lang.String hostName)
Sets the FrontendHost attribute of the WebServerMBean object |
void |
setFrontendHTTPPort(int httpPort)
Sets the FrontendHTTPPort attribute of the WebServerMBean object |
void |
setFrontendHTTPSPort(int httpsPort)
Sets the FrontendHTTPSPort attribute of the WebServerMBean object |
void |
setHttpTraceSupportEnabled(boolean tse)
Attackers may abuse HTTP TRACE functionality to gain access to information in HTTP headers such as cookies and authentication data. |
void |
setIdlePeriodsUntilTimeout(int timeout)
Set the maximum number of periods that a cluster member will wait before timing out a member of a cluster. |
void |
setMulticastAddress(java.lang.String address)
Sets the multicast address used by cluster members to communicate with each other. |
void |
setMulticastBufferSize(int bufSize)
Defines the multicast socket send/receive buffer size. |
void |
setMulticastDataEncryption(boolean value)
|
void |
setMulticastPort(int port)
The multicast port used by cluster members to communicate with each other. |
void |
setMulticastSendDelay(int delay)
Sets the number of milliseconds to delay sending message fragments over multicast. |
void |
setMulticastTTL(int ttl)
Sets the time-to-live value for the cluster's multicast address. |
void |
setWeblogicPluginEnabled(boolean wpe)
WLS HttpRequest.getRemoteAddr() used to rely on X-Forwarded-For for its returned value. |
java.util.HashMap |
start()
Used to start all the servers belonging to the Cluster. |
Methods inherited from interface weblogic.management.configuration.TargetMBean |
setDeployments |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
freezeCurrentValue,
getNotes,
restoreDefaultValue,
setComments,
setDefaultedMBean,
setNotes,
setPersistenceEnabled |
Methods inherited from interface weblogic.management.WebLogicMBean |
getMBeanInfo,
getName,
getObjectName,
getParent,
getType,
isCachingDisabled,
isRegistered,
setName,
setParent |
Methods inherited from interface javax.management.DynamicMBean |
getAttribute,
getAttributes,
invoke,
setAttribute,
setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
postDeregister,
postRegister,
preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener,
getNotificationInfo,
removeNotificationListener |
Method Detail |
public ServerMBean[] getServers()
public java.lang.String getClusterAddress()
NetworkChannelMBean.getClusterAddress()
public void setClusterAddress(java.lang.String address) throws javax.management.InvalidAttributeValueException
address
- The new clusterAddress valuegetMulticastAddress()
public java.lang.String getMulticastAddress()
ServerMBean.getInterfaceAddress()
,
getMulticastPort()
public void setMulticastAddress(java.lang.String address) throws javax.management.InvalidAttributeValueException
address
- The new multicastAddress valueServerMBean.getInterfaceAddress()
,
setMulticastPort(int)
public void setMulticastBufferSize(int bufSize)
bufSize
- The new multicastBufferSize valuepublic int getMulticastBufferSize()
public int getMulticastPort()
setMulticastPort(int)
,
getMulticastAddress()
public void setMulticastPort(int port) throws javax.management.InvalidAttributeValueException
port
- The new multicastPort valuegetMulticastPort()
,
setMulticastAddress(java.lang.String)
public int getMulticastTTL()
public void setMulticastTTL(int ttl) throws javax.management.InvalidAttributeValueException
ttl
- The new multicastTTL valuepublic int getMulticastSendDelay()
public void setMulticastSendDelay(int delay) throws javax.management.InvalidAttributeValueException
delay
- The new multicastSendDelay valuepublic java.lang.String getDefaultLoadAlgorithm()
public void setDefaultLoadAlgorithm(java.lang.String value) throws javax.management.InvalidAttributeValueException
value
- The new defaultLoadAlgorithm valuepublic java.util.HashMap start()
public java.util.HashMap kill()
public void setClientCertProxyEnabled(boolean ccp)
true
causes proxy-server plugins
to pass identity certificates from clients to all web
applications that are deployed on all server instances in
the cluster.
A proxy-server plugin encodes each identify certification
in the WL-Proxy-Client-Cert
header and passes
the header to WebLogic Server instances. Each WebLogic Server
instance takes the certificate information from the header, trusting
that it came from a secure source, and uses that information to
authenticate the user.
If you specify true
, use a
ConnectionFilter
to ensure
that each WebLogic Server instance accepts connections only
from the machine on which the proxy-server plugin is running.
Specifying true
without using a connection filter
creates a potential security vulnerability because the
WL-Proxy-Client-Cert
header can be spoofed.
A value of true
overrides the value that each server
instance within the cluster specifies with
ServerMBean.setClientCertProxyEnabled(boolean)
.
By default (or if you specify false
):
ClientCertProxyEnabled
attribute (or if it
specifies false
), the weblogic.xml
deployment descriptor for each web application determines
whether the web application trusts certificates sent from
the proxy server plugin.
false
), users cannot log
in to the web application from a proxy server plugin.
ccp
- The new clientCertProxyEnabled valuepublic boolean isClientCertProxyEnabled()
public void setWeblogicPluginEnabled(boolean wpe)
wpe
- The new weblogicPluginEnabled valuepublic boolean isWeblogicPluginEnabled()
public int getIdlePeriodsUntilTimeout()
public void setIdlePeriodsUntilTimeout(int timeout)
public void setHttpTraceSupportEnabled(boolean tse)
public boolean isHttpTraceSupportEnabled()
public java.lang.String getFrontendHost()
WebServerMBean.getFrontendHost()
public void setFrontendHost(java.lang.String hostName) throws javax.management.InvalidAttributeValueException
hostName
- The new FrontendHost valuepublic int getFrontendHTTPPort()
WebServerMBean.getFrontendHTTPPort()
public void setFrontendHTTPPort(int httpPort) throws javax.management.InvalidAttributeValueException
httpPort
- The new FrontendHTTPPort valuepublic int getFrontendHTTPSPort()
WebServerMBean.getFrontendHTTPSPort()
public void setFrontendHTTPSPort(int httpsPort) throws javax.management.InvalidAttributeValueException
httpsPort
- The new FrontendHTTPSPort valuepublic void setMulticastDataEncryption(boolean value)
public boolean getMulticastDataEncryption()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |