|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.runtime.ServerName
public class ServerName
The ServerName class provides static methods for getting at the display name of the running server.
Constructor Summary | |
---|---|
ServerName()
|
Method Summary | |
---|---|
static int |
getAsid()
Gets the MVS ASID (Address Space IDentifier - 2 byte (short) integer which also identifies a process in z/OS). |
static java.lang.String |
getDisplayName()
Gets the short text display name of the server |
static java.lang.String |
getFullName()
Gets the fully-qualified name of the server in the form of "Domain Name\Node Name\Server Name" |
static java.lang.String |
getjsabjbid()
Gets the jsabjbid value. |
static java.lang.String |
getjsabjbnm()
Gets the jsabjbnm value. |
static java.lang.String |
getjsabpref()
Gets the jsabpref value (STCxxxxx on a JES2 system or the jsabjbnm value on a JES3 system). |
static int |
getPid()
Gets the Unix Process id for the server. |
static java.lang.String |
getPrintableStoken()
Gets the stoken of the space. |
static java.lang.Long |
getServerId()
Gets the Unique Server ID Number (this is -1 for AEs/AEd) |
static java.lang.String |
getSMFId()
Gets the MVS System Management Facility System Identification from the SMCA (CVTSMCA->SMCA.SMCASID) |
static byte[] |
getStoken()
Gets the stoken of the space(an opaque/binary 8 byte unique identifier for an address space/process on z/OS. |
static void |
initialize(java.lang.String cell,
java.lang.String node,
java.lang.String server)
Deprecated. This method is for WebSphere runtime use only. Applications should not call this method. |
static void |
was390Initialize(byte[] a_stoken,
java.lang.String a_printable_stoken,
java.lang.String a_jsabpref,
int a_pid,
int an_asid,
java.lang.String a_jsabjbnm)
Deprecated. This method is for WebSphere runtime use only. Applications should not call this method. |
static void |
was390Initialize(byte[] a_stoken,
java.lang.String a_printable_stoken,
java.lang.String a_jsabpref,
int a_pid,
int an_asid,
java.lang.String a_jsabjbnm,
java.lang.String a_smcasid)
Deprecated. This method is for WebSphere runtime use only. Applications should not call this method. |
static void |
was390Initialize(byte[] a_stoken,
java.lang.String a_printable_stoken,
java.lang.String a_jsabpref,
int a_pid,
int an_asid,
java.lang.String a_jsabjbnm,
java.lang.String a_smcasid,
java.lang.String a_jsabjbid)
Deprecated. This method is for WebSphere runtime use only. Applications should not call this method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerName()
Method Detail |
---|
public static void initialize(java.lang.String cell, java.lang.String node, java.lang.String server)
cell
- cell namenode
- node nameserver
- server namepublic static java.lang.String getDisplayName()
public static java.lang.Long getServerId()
public static java.lang.String getFullName()
public static void was390Initialize(byte[] a_stoken, java.lang.String a_printable_stoken, java.lang.String a_jsabpref, int a_pid, int an_asid, java.lang.String a_jsabjbnm)
a_stoken
- stoken of the server processa_printable_stoken
- stoken as a printable stringa_jsabpref
- Prefix for the server process obtained from the JSAB (job scheduler address space control block)a_pid
- Unix Process id for the server processan_asid
- MVS ASID (Address Space IDentifier) for the server processa_jsabjbnm
- Job name for the server process obtained from the JSAB (job scheduler address space control block)public static void was390Initialize(byte[] a_stoken, java.lang.String a_printable_stoken, java.lang.String a_jsabpref, int a_pid, int an_asid, java.lang.String a_jsabjbnm, java.lang.String a_smcasid)
This method is for WebSphere runtime use only. Applications should not call this method.
a_stoken
- stoken of the server processa_printable_stoken
- stoken as a printable stringa_jsabpref
- Prefix for the server process obtained from the JSAB (job scheduler address space control block)a_pid
- Unix Process id for the server processan_asid
- MVS ASID (Address Space IDentifier) for the server processa_jsabjbnm
- Job name for the server process obtained from the JSAB (job scheduler address space control block)a_smcasid
- MVS System Management Facility System Identification
from the SMCA for the server processpublic static void was390Initialize(byte[] a_stoken, java.lang.String a_printable_stoken, java.lang.String a_jsabpref, int a_pid, int an_asid, java.lang.String a_jsabjbnm, java.lang.String a_smcasid, java.lang.String a_jsabjbid)
This method is for WebSphere runtime use only. Applications should not call this method.
a_stoken
- stoken of the server processa_printable_stoken
- stoken as a printable stringa_jsabpref
- Prefix for the server process obtained from the JSAB (job scheduler address space control block)a_pid
- Unix Process id for the server processan_asid
- MVS ASID (Address Space IDentifier) for the server processa_jsabjbnm
- Job name for the server process obtained from the JSAB (job scheduler address space control block)a_smcasid
- MVS System Management Facility System Identification
from the SMCA for the server processa_jsabjbid
- Job Id for the server process obtained from the JSAB (job scheduler address space control block)public static byte[] getStoken()
public static java.lang.String getPrintableStoken()
public static java.lang.String getjsabpref()
Most likely you will want to use the jsabjbid value. The jsabjbid will be the STCxxxxx value if running on a JES2 system, or typically a JOBxxxxx value if running on a JES3 system.
Short for JSAB prefix. Every process which is started from the operator console is assigned a printable 8 byte name, usually beginning with STC followed by 5 numbers (like STC00123). Leading zeroes are always present. This is not the printable version of a STOKEN. The name is only unique among active processes. So, if a process terminates, the next process that starts MIGHT reuse this name. Might not be available on all platforms.
public static java.lang.String getjsabjbnm()
public static java.lang.String getjsabjbid()
public static int getPid()
public static int getAsid()
public static java.lang.String getSMFId()
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |