org.glassfish.loadbalancer.admin.cli.reader.api
Interface WebModuleReader

All Superinterfaces:
BaseReader
All Known Implementing Classes:
WebModuleReaderImpl, WebServiceEndpointReaderImpl

public interface WebModuleReader
extends BaseReader

Provides web module information relavant to Load balancer tier.

Author:
Satish Viswanatham

Method Summary
 java.lang.String getContextRoot()
          Returns config context of this module
 java.lang.String getDisableTimeoutInMinutes()
          Returns disable timeout for this module
 java.lang.String getErrorUrl()
          Returns error url for this web module
 IdempotentUrlPatternReader[] getIdempotentUrlPattern()
          Returns idempotent url patterns for this module.
 boolean getLbEnabled()
          Returns load balancer enabled flag.
 
Methods inherited from interface org.glassfish.loadbalancer.admin.cli.reader.api.BaseReader
accept
 

Method Detail

getContextRoot

java.lang.String getContextRoot()
                                throws LbReaderException
Returns config context of this module

Returns:
String context root for this web module
Throws:
LbReaderException

getErrorUrl

java.lang.String getErrorUrl()
                             throws LbReaderException
Returns error url for this web module

Returns:
String This url acts as error page for this module
Throws:
LbReaderException

getLbEnabled

boolean getLbEnabled()
                     throws LbReaderException
Returns load balancer enabled flag.

Returns:
@boolean true, if enabled; false, if disabled in LB
Throws:
LbReaderException

getDisableTimeoutInMinutes

java.lang.String getDisableTimeoutInMinutes()
                                            throws LbReaderException
Returns disable timeout for this module

Returns:
@String value must be > 0
Throws:
LbReaderException

getIdempotentUrlPattern

IdempotentUrlPatternReader[] getIdempotentUrlPattern()
                                                     throws LbReaderException
Returns idempotent url patterns for this module.

Returns:
IdempotentUrlPatternReader[] list of idempotent url patterns
Throws:
LbReaderException


Copyright © 2012 GlassFish Community. All Rights Reserved.