com.sun.enterprise.config.serverbeans
Interface WebContainerAvailability

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag

public interface WebContainerAvailability
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag

web-container-availability SE/EE only


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
org.jvnet.hk2.config.types.PropertyBag.Duck
 
Method Summary
 java.lang.String getAvailabilityEnabled()
          Gets the value of the availabilityEnabled property.
 java.lang.String getDisableJreplica()
          Gets thevalue of disableJreplica property.
 java.lang.String getHttpSessionStorePoolName()
          Deprecated. 
 java.lang.String getPersistenceFrequency()
          Gets the value of the persistenceFrequency property.
 java.lang.String getPersistenceScope()
          Gets the value of the persistenceScope property.
 java.lang.String getPersistenceStoreHealthCheckEnabled()
          Deprecated. 
 java.lang.String getPersistenceType()
          Gets the value of the persistenceType property.
 java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
          Properties as per PropertyBag
 java.lang.String getSsoFailoverEnabled()
          Gets the value of the ssoFailoverEnabled property.
 void setAvailabilityEnabled(java.lang.String value)
          Sets the value of the availabilityEnabled property.
 void setDisableJreplica(java.lang.String value)
          Sets the disableJreplica property
 void setHttpSessionStorePoolName(java.lang.String value)
          Sets the value of the httpSessionStorePoolName property.
 void setPersistenceFrequency(java.lang.String value)
          Sets the value of the persistenceFrequency property.
 void setPersistenceScope(java.lang.String value)
          Sets the value of the persistenceScope property.
 void setPersistenceStoreHealthCheckEnabled(java.lang.String value)
          Sets the value of the persistenceStoreHealthCheckEnabled property.
 void setPersistenceType(java.lang.String value)
          Sets the value of the persistenceType property.
 void setSsoFailoverEnabled(java.lang.String value)
          Sets the value of the ssoFailoverEnabled property.
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
getProperty, getPropertyValue, getPropertyValue
 

Method Detail

getAvailabilityEnabled

java.lang.String getAvailabilityEnabled()
Gets the value of the availabilityEnabled property. This boolean flag controls whether availability is enabled for HTTP session persistence. If this is "false", then session persistence is disabled for all web modules in j2ee apps and stand-alone web modules. If it is "true" (and providing that the global availability-enabled in availability-service is also "true", then j2ee apps and stand-alone web modules may be ha enabled. Finer-grained control exists at lower levels. If this attribute is missing, it "inherits" the value of the global availability-enabled under availability-service. Default is "true".

Returns:
possible object is String

setAvailabilityEnabled

void setAvailabilityEnabled(java.lang.String value)
                            throws java.beans.PropertyVetoException
Sets the value of the availabilityEnabled property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getPersistenceType

java.lang.String getPersistenceType()
Gets the value of the persistenceType property. Specifies the session persistence mechanism for web applications that have availability enabled. Default is "replicated".

Returns:
possible object is String

setPersistenceType

void setPersistenceType(java.lang.String value)
                        throws java.beans.PropertyVetoException
Sets the value of the persistenceType property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getPersistenceFrequency

java.lang.String getPersistenceFrequency()
Gets the value of the persistenceFrequency property. The persistence frequency used by the session persistence framework, when persistence-type = "ha". Values may be "time-based" or "web-event" If it is missing, then the persistence-type will revert to "memory".

Returns:
possible object is String

setPersistenceFrequency

void setPersistenceFrequency(java.lang.String value)
                             throws java.beans.PropertyVetoException
Sets the value of the persistenceFrequency property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getPersistenceScope

java.lang.String getPersistenceScope()
Gets the value of the persistenceScope property. The persistence scope used by the session persistence framework, when persistence-type = "ha". Values may be "session", "modified-session", "modified-attribute". If it is missing, then the persistence-type will revert to "memory".

Returns:
possible object is String

setPersistenceScope

void setPersistenceScope(java.lang.String value)
                         throws java.beans.PropertyVetoException
Sets the value of the persistenceScope property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getPersistenceStoreHealthCheckEnabled

@Deprecated
java.lang.String getPersistenceStoreHealthCheckEnabled()
Deprecated. 

Gets the value of the persistenceStoreHealthCheckEnabled property. Deprecated. This attribute has no effect. If you wish to control enabling/disabling HADB health check, refer to store-healthcheck-enabled attribute in the availability-service element.

Returns:
possible object is String

setPersistenceStoreHealthCheckEnabled

void setPersistenceStoreHealthCheckEnabled(java.lang.String value)
                                           throws java.beans.PropertyVetoException
Sets the value of the persistenceStoreHealthCheckEnabled property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getSsoFailoverEnabled

java.lang.String getSsoFailoverEnabled()
Gets the value of the ssoFailoverEnabled property. Controls whether Single-Sign-On state will be made available for failover

Returns:
possible object is String

setSsoFailoverEnabled

void setSsoFailoverEnabled(java.lang.String value)
                           throws java.beans.PropertyVetoException
Sets the value of the ssoFailoverEnabled property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getHttpSessionStorePoolName

@Deprecated
java.lang.String getHttpSessionStorePoolName()
Deprecated. 

Gets the value of the httpSessionStorePoolName property. This is the jndi-name for the JDBC Connection Pool used by the HTTP Session Persistence Framework. If missing, internal code will default it to value of store-pool-name under availability-service (ultimately "jdbc/hastore").

Returns:
possible object is String

setHttpSessionStorePoolName

void setHttpSessionStorePoolName(java.lang.String value)
                                 throws java.beans.PropertyVetoException
Sets the value of the httpSessionStorePoolName property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getDisableJreplica

java.lang.String getDisableJreplica()
Gets thevalue of disableJreplica property. This is the property used to disable setting the JREPLICA cookie

Returns:
returns the string representation of the boolean value

setDisableJreplica

void setDisableJreplica(java.lang.String value)
                        throws java.beans.PropertyVetoException
Sets the disableJreplica property

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getProperty

@ToDo(priority=IMPORTANT,
      details="Provide PropertyDesc for legal props")
@PropertiesDesc(props={})
java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
Properties as per PropertyBag

Specified by:
getProperty in interface org.jvnet.hk2.config.types.PropertyBag


Copyright © 2012 GlassFish Community. All Rights Reserved.