com.sun.enterprise.config.serverbeans
Interface ServerRef

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, javax.validation.Payload, Ref

public interface ServerRef
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, Ref, javax.validation.Payload


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
Field Summary
static java.lang.String LBENABLED_DEFAULT_VALUE
           
 
Method Summary
 java.lang.String getDisableTimeoutInMinutes()
          Gets the value of the disableTimeoutInMinutes property.
 java.lang.String getEnabled()
          Gets the value of the enabled property.
 HealthChecker getHealthChecker()
          Gets the value of the healthChecker property.
 java.lang.String getLbEnabled()
          Gets the value of the lbEnabled property.
 java.lang.String getRef()
          Gets the value of the ref property.
 void setDisableTimeoutInMinutes(java.lang.String value)
          Sets the value of the disableTimeoutInMinutes property.
 void setEnabled(java.lang.String value)
          Sets the value of the enabled property.
 void setHealthChecker(HealthChecker value)
          Sets the value of the healthChecker property.
 void setLbEnabled(java.lang.String value)
          Sets the value of the lbEnabled property.
 void setRef(java.lang.String value)
          Sets the value of the ref property.
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 

Field Detail

LBENABLED_DEFAULT_VALUE

static final java.lang.String LBENABLED_DEFAULT_VALUE
See Also:
Constant Field Values
Method Detail

getRef

@NotNull
@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*",
         message="{server.invalid.name}",
         payload=ServerRef.class)
java.lang.String getRef()
Gets the value of the ref property. A reference to the name of a server defined elsewhere

Specified by:
getRef in interface Ref
Returns:
possible object is String

setRef

void setRef(java.lang.String value)
            throws java.beans.PropertyVetoException
Sets the value of the ref property.

Specified by:
setRef in interface Ref
Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getDisableTimeoutInMinutes

java.lang.String getDisableTimeoutInMinutes()
Gets the value of the disableTimeoutInMinutes property. The time, in minutes, that it takes this server to reach a quiescent state after having been disabled

Returns:
possible object is String

setDisableTimeoutInMinutes

void setDisableTimeoutInMinutes(java.lang.String value)
                                throws java.beans.PropertyVetoException
Sets the value of the disableTimeoutInMinutes property.

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

getLbEnabled

java.lang.String getLbEnabled()
Gets the value of the lbEnabled property. Causes any and all load-balancers using this server to consider this server available to them. Defaults to available(true)

Returns:
possible object is String

setLbEnabled

void setLbEnabled(java.lang.String value)
                  throws java.beans.PropertyVetoException
Sets the value of the lbEnabled property.

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

getEnabled

java.lang.String getEnabled()
Gets the value of the enabled property. A boolean flag that causes the server to be enabled to serve end-users, or not. Default is to be enabled (true)

Returns:
possible object is String

setEnabled

void setEnabled(java.lang.String value)
                throws java.beans.PropertyVetoException
Sets the value of the enabled property.

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

getHealthChecker

HealthChecker getHealthChecker()
Gets the value of the healthChecker property.

Returns:
possible object is HealthChecker

setHealthChecker

void setHealthChecker(HealthChecker value)
                      throws java.beans.PropertyVetoException
Sets the value of the healthChecker property.

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


Copyright © 2012 GlassFish Community. All Rights Reserved.