Namespace: Consultingwerk.Framework
Class 
AppServerServiceManager Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Framework.IAppServerServiceManager

File:AppServerServiceManager
Purpose:IAppServerServiceManager Implementation, wrapper to
adecomm/as-utils.w
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue May 26 17:53:10 CEST 2009
Notes:http://confluence.consultingwerkcloud.com/wiki/display/SCL/Managing+AppServer+Connections



Top Method Summary
Options Name Purpose
+ HANDLE ConnectService (character) Connects a single AppServer partition
+ DisconnectService (character) Disconnects a single AppServer partition
+ HANDLE GetServiceHandle (character) Returns the handle to a AppServer partition - if connected - returns ? when not connected.
+ HANDLE GetServiceHandle (character, logical) Returns the handle to a AppServer partition
+ LOGICAL IsConnected (character) Returns TRUE if the specified AppServer Partition is known and connected.

Top Constructor Summary
Options Name Purpose
+ AppServerServiceManager () Constructor for the AppServerServiceManager class

Top Property Summary
Options Name Purpose
+ CHARACTER DefaultPartition Gets and sets the DefaultPartition used when the request is not specifying a partition name
+ CHARACTER Partitions Returns a list of AppServer partitions supported by the ServiceManager implementation


Method Detail
Top

PUBLIC HANDLE ConnectService (character)

Purpose: Connects a single AppServer partition
Notes: Returns the Handle of the AppServer partition (Server handle or
session handle). Throws error when connection fails

Parameters:
pcServicePartition CHARACTER
The partition to return a server handle for
Returns HANDLE
The HANDLE of the server object
Top

PUBLIC DisconnectService (character)

Purpose: Disconnects a single AppServer partition
Notes:

Parameters:
pcServicePartition CHARACTER
The partition to disconnect from
Top

PUBLIC HANDLE GetServiceHandle (character)

Purpose: Returns the handle to a AppServer partition - if connected -
returns ? when not connected.
Notes:

Parameters:
pcServicePartition CHARACTER
The name of the partition to return the handle for
Returns HANDLE
The HANDLE of the server object
Top

PUBLIC HANDLE GetServiceHandle (character, logical)

Purpose: Returns the handle to a AppServer partition
Notes: When plConnectIfRequired is set to TRUE, the partition will be
connected if required.

Parameters:
pcServicePartition CHARACTER
The name of the partition to return the handle for
plConnectIfRequired LOGICAL
Connect if not already connected
Returns HANDLE
The HANDLE of the server object
Top

PUBLIC LOGICAL IsConnected (character)

Purpose: Returns TRUE if the specified AppServer Partition is known and
connected.
Notes:

Parameters:
pcServicePartition CHARACTER
The name of the partition to check if connection is established
Returns LOGICAL
Logical value indicating if the service is connected


Constructor Detail
Top

PUBLIC AppServerServiceManager ()

Purpose: Constructor for the AppServerServiceManager class
Notes:



Property Detail
Top

PUBLIC CHARACTER DefaultPartition

Purpose: Gets and sets the DefaultPartition used when the request is not
specifying a partition name
Notes:

Returns CHARACTER
Top

PUBLIC CHARACTER Partitions

Purpose: Returns a list of AppServer partitions supported by the
ServiceManager implementation
Notes:

Returns CHARACTER


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:28:34