Platform SDK Java 8.5 API Reference

com.genesyslab.platform.apptemplate.application
Class AbstractManagerBuilder<M extends GFApplicationConfigurationManager,B extends AbstractManagerBuilder<M,B>>

java.lang.Object
  extended by com.genesyslab.platform.apptemplate.application.AbstractManagerBuilder<M,B>
Direct Known Subclasses:
GFApplicationConfigurationManager.ManagerBuilder

public abstract class AbstractManagerBuilder<M extends GFApplicationConfigurationManager,B extends AbstractManagerBuilder<M,B>>
extends java.lang.Object

Abstract base class for application configuration manager builders. It is to share building logic between manager builders.

Each specific configuration manager class contains own extension of this builder with required logic for particular manager creation and configuration.

See Also:
GFApplicationConfigurationManager.newBuilder()

Field Summary
protected  java.lang.String clientName
           
protected  CfgAppType clientType
           
protected  IConfService confService
           
protected  java.util.LinkedList<Endpoint> csEndpoints
           
protected  java.lang.Boolean disableSessionUsage
           
protected  java.lang.Boolean doCSSubscription
           
protected  java.lang.Boolean doLoggingAutoconfig
           
protected  LmsMessageConveyor lmsConveyor
           
protected  java.lang.String password
           
protected  java.lang.String username
           
protected  java.lang.Boolean useWarmStandby
           
protected  WSConfig wsConfig
           
 
Constructor Summary
AbstractManagerBuilder()
           
 
Method Summary
abstract  M build()
           
protected  void checkRequiredParameters()
           
protected  ConfServerProtocol createProtocol()
           
protected  WarmStandby createWarmStandby(ConfServerProtocol protocol)
           
protected  GFApplicationConfigurationManager setupContext(GFApplicationConfigurationManager manager)
           
 B withClientId(CfgAppType clientType, java.lang.String clientName)
           
 B withConfService(IConfService confService)
           
 B withCSEndpoint(Endpoint endpoint)
           
 B withDoCSSubscription(java.lang.Boolean doSubscription)
           
 B withLmsConveyor(LmsMessageConveyor lms)
          Initializes custom instance of LmsMessageConveyor.
If this property is not specified (usual case), the application configuration manager will create default instance of it (LmsMessageConveyor.LmsMessageConveyor()).
 B withLoggingAutoconfig(java.lang.Boolean doAutoconfig)
           
 B withSessionDisabled(java.lang.Boolean disableSession)
           
 B withUserId(java.lang.String username, java.lang.String passwd)
           
 B withWarmStandby(WSConfig wsConfig)
           
 B withWarmStandbyEnabled(java.lang.Boolean enableWS)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

confService

protected IConfService confService

csEndpoints

protected java.util.LinkedList<Endpoint> csEndpoints

clientName

protected java.lang.String clientName

clientType

protected CfgAppType clientType

username

protected java.lang.String username

password

protected java.lang.String password

disableSessionUsage

protected java.lang.Boolean disableSessionUsage

doCSSubscription

protected java.lang.Boolean doCSSubscription

useWarmStandby

protected java.lang.Boolean useWarmStandby

wsConfig

protected WSConfig wsConfig

lmsConveyor

protected LmsMessageConveyor lmsConveyor

doLoggingAutoconfig

protected java.lang.Boolean doLoggingAutoconfig
Constructor Detail

AbstractManagerBuilder

public AbstractManagerBuilder()
Method Detail

withLmsConveyor

public B withLmsConveyor(LmsMessageConveyor lms)
Initializes custom instance of LmsMessageConveyor.
If this property is not specified (usual case), the application configuration manager will create default instance of it (LmsMessageConveyor.LmsMessageConveyor()).

Parameters:
lms - user defined LMS messages conveyor.
Returns:
this builder instance reference.

withLoggingAutoconfig

public B withLoggingAutoconfig(java.lang.Boolean doAutoconfig)

withConfService

public B withConfService(IConfService confService)

withCSEndpoint

public B withCSEndpoint(Endpoint endpoint)

withClientId

public B withClientId(CfgAppType clientType,
                      java.lang.String clientName)

withUserId

public B withUserId(java.lang.String username,
                    java.lang.String passwd)

withSessionDisabled

public B withSessionDisabled(java.lang.Boolean disableSession)

withDoCSSubscription

public B withDoCSSubscription(java.lang.Boolean doSubscription)

withWarmStandbyEnabled

public B withWarmStandbyEnabled(java.lang.Boolean enableWS)

withWarmStandby

public B withWarmStandby(WSConfig wsConfig)

checkRequiredParameters

protected void checkRequiredParameters()

setupContext

protected GFApplicationConfigurationManager setupContext(GFApplicationConfigurationManager manager)

createProtocol

protected ConfServerProtocol createProtocol()

createWarmStandby

protected WarmStandby createWarmStandby(ConfServerProtocol protocol)

build

public abstract M build()

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.