org.glassfish.loadbalancer.admin.cli.reader.impl
Class WebServiceEndpointReaderImpl

java.lang.Object
  extended by org.glassfish.loadbalancer.admin.cli.reader.impl.WebServiceEndpointReaderImpl
All Implemented Interfaces:
BaseReader, WebModuleReader

public class WebServiceEndpointReaderImpl
extends java.lang.Object
implements WebModuleReader

Provides web module information relavant to Load balancer tier.

Author:
Kshitiz Saxena

Constructor Summary
WebServiceEndpointReaderImpl(java.lang.String name, ApplicationRef ref, Application application, WebServiceEndpoint bean)
           
 
Method Summary
 void accept(Visitor v)
          Accepts a visitor and calls its visit method
 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServiceEndpointReaderImpl

public WebServiceEndpointReaderImpl(java.lang.String name,
                                    ApplicationRef ref,
                                    Application application,
                                    WebServiceEndpoint bean)
Method Detail

getContextRoot

public java.lang.String getContextRoot()
                                throws LbReaderException
Description copied from interface: WebModuleReader
Returns config context of this module

Specified by:
getContextRoot in interface WebModuleReader
Returns:
String context root for this web module
Throws:
LbReaderException

getErrorUrl

public java.lang.String getErrorUrl()
                             throws LbReaderException
Description copied from interface: WebModuleReader
Returns error url for this web module

Specified by:
getErrorUrl in interface WebModuleReader
Returns:
String This url acts as error page for this module
Throws:
LbReaderException

getLbEnabled

public boolean getLbEnabled()
                     throws LbReaderException
Description copied from interface: WebModuleReader
Returns load balancer enabled flag.

Specified by:
getLbEnabled in interface WebModuleReader
Returns:
@boolean true, if enabled; false, if disabled in LB
Throws:
LbReaderException

getDisableTimeoutInMinutes

public java.lang.String getDisableTimeoutInMinutes()
                                            throws LbReaderException
Description copied from interface: WebModuleReader
Returns disable timeout for this module

Specified by:
getDisableTimeoutInMinutes in interface WebModuleReader
Returns:
@String value must be > 0
Throws:
LbReaderException

getIdempotentUrlPattern

public IdempotentUrlPatternReader[] getIdempotentUrlPattern()
                                                     throws LbReaderException
Description copied from interface: WebModuleReader
Returns idempotent url patterns for this module.

Specified by:
getIdempotentUrlPattern in interface WebModuleReader
Returns:
IdempotentUrlPatternReader[] list of idempotent url patterns
Throws:
LbReaderException

accept

public void accept(Visitor v)
            throws java.lang.Exception
Description copied from interface: BaseReader
Accepts a visitor and calls its visit method

Specified by:
accept in interface BaseReader
Throws:
java.lang.Exception


Copyright © 2012 GlassFish Community. All Rights Reserved.