com.pega.pegarules.pub.context
Interface PRNode

All Superinterfaces:
PageDirectory

public interface PRNode
extends PageDirectory

The PegaRULES Node interface encapsulates information applicable to the execution environment of PegaRULES within a single Java Virtual Machine.

Version:
$Revision: 31 $ $Date: 2009-06-24 09:38:04 -0400 (Wed, 24 Jun 2009) $
Author:
Kenneth Olson

Field Summary
static java.lang.String COPYRIGHT
           
static char NODETYPE_INTRANET
          default, pre 5.4 node type.
static char NODETYPE_WEB
          new PRPC-on-the-web node type.
static char NODETYPE_WEBTESTING
          Test/data collection mode for real "web" mode.
static java.lang.String VERSION
           
 
Fields inherited from interface com.pega.pegarules.pub.context.PageDirectory
SCOPE_NODE, SCOPE_REQUESTOR, SCOPE_THREAD
 
Method Summary
 java.lang.String calculateNodeUniqueID(java.lang.String aSystemName, java.lang.String aNodeName, java.lang.String aWebServerTempDir)
          Calculates the node id of any PRPC system with the given properties.
 char getNodeType()
          Returns the type of this node.
 java.lang.String getNodeUniqueID()
           
 
Methods inherited from interface com.pega.pegarules.pub.context.PageDirectory
findName, getPage, getPageNames, getScope, pageExists, removePage, removePage, renamePage
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values

VERSION

static final java.lang.String VERSION
See Also:
Constant Field Values

NODETYPE_INTRANET

static final char NODETYPE_INTRANET
default, pre 5.4 node type. No checking for "allowed" activities

See Also:
Constant Field Values

NODETYPE_WEBTESTING

static final char NODETYPE_WEBTESTING
Test/data collection mode for real "web" mode. All activities are allowed, logging is enabled.

See Also:
Constant Field Values

NODETYPE_WEB

static final char NODETYPE_WEB
new PRPC-on-the-web node type. Only "allowed" activities can be invoked from the browser.

See Also:
Constant Field Values
Method Detail

calculateNodeUniqueID

java.lang.String calculateNodeUniqueID(java.lang.String aSystemName,
                                       java.lang.String aNodeName,
                                       java.lang.String aWebServerTempDir)
Calculates the node id of any PRPC system with the given properties.

Parameters:
aSystemName - PRPC hostname
aNodeName - PRPC node name
aWebServerTempDir - PRPC temp dir
Returns:
A node id hash

getNodeUniqueID

java.lang.String getNodeUniqueID()

getNodeType

char getNodeType()
Returns the type of this node.

Returns:
one of the PRNode.NODETYPE_* values


Copyright © 2012 Pegasystems Inc. All Rights Reserved.