|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the interface for a particular cluster's properties. This interface should be used to set and get various attributes of a cluster bean. To set values of the cluster property, the enumerated properties of the interface should be used.
IPMClusterProperty prop = PMClusterPropertyFactory.create ( ) ; prop.setValue ( IPMClusterProperty.CLUSTER_DN, "cn=myCluster, o=NetscapeRoot" ) ;To get values of the cluster property, the follwing code can be used as a guideline
javax.naming.Context cxt = new javax.naming.InitialContext(); String jndiName = "java:comp/env/" + IPMCluster.DEFAULT; IPMClusterHome home = (IPMClusterHome) cxt.lookup( jndiName ); IPMCluster cluster = home.create(); IPMClusterProperty prop = cluster.getClusterProperty(); String clusterDN = prop.getValue ( IPMClusterProperty.CLUSTER_DN ) ;
PMClusterPropertyFactory
,
IPMCluster
Field Summary | |
static int |
ADMIN_USERS
Cluster Administrative user names who have access to Cluster Administration and Process Business interfaces. |
static int |
ADMINISTRATOR_URL
This is the URL for the Process Administrator page. |
static int |
APPLICATION_URL
This is the URL for Process Manager applications The default URL is http://myserver/NASApp/pae/{0}.npm where |
static int |
BUSINESS_URL
This the URL for the Process Business page. |
static int |
CLUSTER_DN
DN of the cluster. |
static int |
CLUSTER_NAME
Name of the cluster. |
static int |
CONFIGURATION_DIRECTORY_BIND_DN
Configuration directory bind dn. |
static int |
CONFIGURATION_DIRECTORY_BIND_DN_PASSWORD
Configuration directory bind dn password. |
static int |
CONFIGURATION_DIRECTORY_PORT
Configuration directory port number. |
static int |
CONFIGURATION_DIRECTORY_SERVER
Configuration directory host name. |
static int |
CORPORATE_DIRECTORY_BASE
Corporate directory base DN. |
static int |
CORPORATE_DIRECTORY_BIND_DN
Corporate directory bind DN. |
static int |
CORPORATE_DIRECTORY_BIND_DN_PASSWORD
Password for the corporate directory bind dn. |
static int |
CORPORATE_DIRECTORY_PORT
Corporate directory port number. |
static int |
CORPORATE_DIRECTORY_SERVER
Corporate directory server host name. |
static int |
DATABASE_DRIVER_IDENTIFIER
Driver Identifier for 3rd Party JDBC Drivers. |
static int |
DATABASE_IDENTIFIER
Database Identifier for Native JDBC Drivers. |
static int |
DATABASE_NAME
Name of the database that Process Manager will connect to. |
static int |
DATABASE_PASSWORD
Password of the database user who will connect to the database. |
static int |
DATABASE_TYPE
Contains the database type. |
static int |
DATABASE_URL
URL for 3rd Party JDBC Drivers. |
static int |
DATABASE_USER_NAME
Name of the user who will connect to the database. |
static int |
DATASOURCE_NAME
This is the name of the datasource that has been registered with iAS. |
static int |
DEPLOY_URL
This is the URL that Process Builder will deploy applications to. |
static int |
DESCRIPTION
Textual description of the cluster. |
static int |
EVENT_USER
The event user for Process Manager. |
static int |
EVENT_USER_PASSWORD
The password for the event user. |
static int |
EXPRESS_URL
This the URL for the Process Express page. |
static int |
INFORMIX
The database type |
static int |
LOG_ERROR
This parameter should be used to communicate the type of the log that is needed from the cluster. |
static int |
LOG_INFORMATION
This parameter should be used to communicate the type of the log that is needed from the cluster. |
static int |
LOG_SECURITY
This parameter should be used to communicate the type of the log that is needed from the cluster. |
static int |
MAX_LOG_SIZE
This parameter is used to specify that all the log entries of cluster should be dumped out. |
static int |
ORACLE
The database type. |
static int |
PRETTY_NAME
Textual name of the cluster. |
static int |
SERVER_URL
This is the URL for the web server. |
static int |
SMTP_PORT
The port number of the SMTP server that Process Manager will use. |
static int |
SMTP_REPLY_TO
The reply to email address that Process Manager will use for email notifications. |
static int |
SMTP_SERVER
The host name for the SMTP server that Process Manager will use. |
static int |
SYBASE
The database type |
Method Summary | |
java.lang.String |
getValue(int name)
This method is used to get a particular value of a parameter. |
void |
setValue(int name,
java.lang.String value)
This method is used to set a particular value of a parameter. |
Field Detail |
public static final int CLUSTER_DN
IPMCluster
public static final int CLUSTER_NAME
IPMCluster
public static final int CONFIGURATION_DIRECTORY_SERVER
IPMCluster
public static final int CONFIGURATION_DIRECTORY_PORT
IPMCluster
public static final int CONFIGURATION_DIRECTORY_BIND_DN
IPMCluster
public static final int CONFIGURATION_DIRECTORY_BIND_DN_PASSWORD
IPMCluster
public static final int CORPORATE_DIRECTORY_SERVER
IPMCluster
public static final int CORPORATE_DIRECTORY_PORT
IPMCluster
public static final int CORPORATE_DIRECTORY_BASE
IPMCluster
public static final int CORPORATE_DIRECTORY_BIND_DN
IPMCluster
public static final int CORPORATE_DIRECTORY_BIND_DN_PASSWORD
IPMCluster
public static final int DATABASE_TYPE
javax.naming.Context cxt = new javax.naming.InitialContext(); String jndiName = "java:comp/env/" + IPMCluster.DEFAULT; IPMClusterHome home = (IPMClusterHome) cxt.lookup( jndiName ); IPMCluster cluster = home.create(); IPMClusterProperty prop = cluster.getClusterProperty(); String dbType = prop.getValue ( IPMClusterProperty.DATABASE_TYPE ) ;Following is an example of how the database type can be set.
javax.naming.Context cxt = new javax.naming.InitialContext(); String jndiName = "java:comp/env/" + IPMCluster.DEFAULT; IPMClusterHome home = (IPMClusterHome) cxt.lookup( jndiName ); IPMCluster cluster = home.create(); IPMClusterProperty prop = cluster.getClusterProperty(); prop.setValue ( IPMClusterProperty.DATABASE_TYPE, IPMClusterProperty.SYBASE ) ;This is a REQUIRED parameter for creating a cluster.
IPMCluster
public static final int DATABASE_IDENTIFIER
IPMCluster
public static final int DATABASE_URL
IPMCluster
public static final int DATABASE_DRIVER_IDENTIFIER
IPMCluster
public static final int DATABASE_NAME
IPMCluster
public static final int DATABASE_USER_NAME
IPMCluster
public static final int DATABASE_PASSWORD
IPMCluster
public static final int DATASOURCE_NAME
public static final int DESCRIPTION
IPMCluster
public static final int PRETTY_NAME
IPMCluster
public static final int SMTP_SERVER
IPMCluster
public static final int SMTP_PORT
IPMCluster
public static final int SMTP_REPLY_TO
IPMCluster
public static final int DEPLOY_URL
myserveris the host name of the web server and
DeploymentManager.npmis the name of the servlet that takes care of deploying applications. This parameter is automatically set when the cluster is created.
public static final int EXPRESS_URL
myserveris the host name of the web server and
Express.npmis the name of the Process Express servlet. This parameter is automatically set when the cluster is created.
public static final int ADMINISTRATOR_URL
myserveris the host name of the web server and
Administrator.apmis the name of the Process Administrator servlet. This parameter is automatically set when the cluster is created.
public static final int BUSINESS_URL
myserveris the host name of the web server and
Businesss.apmis the name of the Process Business servlet. This parameter is automatically set when the cluster is created.
public static final int APPLICATION_URL
myserveris the host name of the web server and the
{0}is replaced during run time by the name of the application that is being currently deployed. This parameter is automatically set when the cluster is created.
public static final int SERVER_URL
public static final int ORACLE
public static final int SYBASE
public static final int INFORMIX
public static final int LOG_INFORMATION
javax.naming.Context cxt = new javax.naming.InitialContext(); String jndiName = "java:comp/env/" + IPMCluster.DEFAULT; IPMClusterHome home = (IPMClusterHome) cxt.lookup( jndiName ); IPMCluster cluster = home.create(); Vector v = cluster.getLog ( IPMClusterProperty.LOG_INFORMATION, IPMClusterProperty.MAX_LOG_SIZE ) ;
public static final int LOG_ERROR
LOG_INFORMATION
public static final int LOG_SECURITY
LOG_INFORMATION
public static final int EVENT_USER
public static final int EVENT_USER_PASSWORD
public static final int ADMIN_USERS
public static final int MAX_LOG_SIZE
javax.naming.Context cxt = new javax.naming.InitialContext(); String jndiName = "java:comp/env/" + IPMCluster.DEFAULT; IPMClusterHome home = (IPMClusterHome) cxt.lookup( jndiName ); IPMCluster cluster = home.create(); Vector v = cluster.getLog ( IPMClusterProperty.LOG_INFORMATION, IPMClusterProperty.MAX_LOG_SIZE ) ;
Method Detail |
public java.lang.String getValue(int name)
javax.naming.Context cxt = new javax.naming.InitialContext(); String jndiName = "java:comp/env/" + IPMCluster.DEFAULT; IPMClusterHome home = (IPMClusterHome) cxt.lookup( jndiName ); IPMCluster cluster = home.create(); IPMClusterProperty prop = cluster.getClusterProperty(); String clusterDN = prop.getValue ( IPMClusterProperty.CLUSTER_DN ) ;
public void setValue(int name, java.lang.String value)
javax.naming.Context cxt = new javax.naming.InitialContext(); String jndiName = "java:comp/env/" + IPMCluster.DEFAULT; IPMClusterHome home = (IPMClusterHome) cxt.lookup( jndiName ); IPMCluster cluster = home.create(); IPMClusterProperty prop = cluster.getClusterProperty(); String clusterDN = prop.setValue ( IPMClusterProperty.CLUSTER_DN, "cn=myCluster, o=NetscapeRoot" ) ;
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |