|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.sdk.common.DKResourceMgrDefICM
Use this class to represent a resource manager in your program. This class provides the facilities to manage the details of resource manager and this object can be used with DKRMConfigurationMgmtICM to add, update, delete and list resource managers in the ICM datastore.
Constructor Summary | |
DKResourceMgrDefICM()
Default constructor |
|
DKResourceMgrDefICM(java.lang.String name)
Constructs a new DKResourceMgrDefICM object with a given name as the resource manager name. |
Method Summary | |
void |
addAccessType(DKAccessTypeDef accessTypeObj)
Adds an access protocol for this resource manager. |
dkCollection |
getAccessType()
Gets a collection of resource manager access protocol that is supported by this resource manager. |
dkAdminDomainDef |
getAdminDomain()
Gets the administrative domain to which this resource manager belongs to. |
java.lang.String |
getINETAddress()
Gets the inet address host name or the IP address of the machine on which this resource manager runs. |
java.lang.String |
getLastChanged()
Gets the time stamp when this resource manager was last updated. |
java.lang.String |
getName()
Gets the name of this resource manager. |
short |
getPlatform()
Gets the operating system platform for this resource manager. |
short |
getRMCode()
Gets the internal code or id for this resource manager.This code is assigned by the ICM datastore for this resource manager. |
java.lang.String |
getRMUserid()
Gets the userid that can be used to logon to this resource manager for SMS administration.. |
int |
getTokenDuration()
Gets the token duration of this resource manager server |
java.lang.String |
getUserid()
Gets the userid of the administrator who created or updated this resource manager last |
boolean |
isLANCacheEnabled()
Checks to see if LAN cache is enabled for this resource manager. |
boolean |
isServerAvailable(boolean fromAdmin)
Checks to see whether this resource manager is currently online |
void |
removeAccessType(java.lang.String name)
Removes all access protocol by given name |
void |
removeAccessType(java.lang.String name,
short portNumber)
Removes an access protocol by name and port number |
void |
setAdminDomain(dkAdminDomainDef domain)
Sets the administrative domain to which this resource manager belongs to. |
void |
setINETAddress(java.lang.String inetAddr)
Sets the host name or IP address of machine on which this resource manager runs. |
void |
setLANCacheEnabled(boolean isLANCache)
Enables the LAN cache for this resource manager |
void |
setName(java.lang.String name)
Sets the name of the resource manager. |
void |
setPlatform(short platform)
Sets the operating system of the resource manager. |
void |
setRMPasswd(java.lang.String pwd)
Sets the userid password for the SMS administative userid who can SMS administer this resource manager |
void |
setRMUserid(java.lang.String uid)
Sets the SMS administative userid for this resource manager. |
void |
setServerAvailable(boolean serverAvail,
boolean fromAdmin)
Sets to whether this resource manager is currently online |
void |
setTokenDuration(int duration)
Sets the token duration of this resource manager server. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DKResourceMgrDefICM()
public DKResourceMgrDefICM(java.lang.String name)
name
- String - name of the resource managerMethod Detail |
public void setName(java.lang.String name)
name
- Sting - name of the resource manager. The name can be up to 128 characters.public java.lang.String getName()
public void setPlatform(short platform)
platform
- - operating system of the machine on which the resource manager runs.Use the constantspublic short getPlatform()
public java.lang.String getUserid()
public java.lang.String getLastChanged()
public void setINETAddress(java.lang.String inetAddr)
inetAddr
- - The host name or the IP address of the resource manager.public java.lang.String getINETAddress()
public short getRMCode()
public void setTokenDuration(int duration)
duration
- - token durationpublic int getTokenDuration()
public dkCollection getAccessType()
public void setLANCacheEnabled(boolean isLANCache)
isLANCache
- - true if LAN Cache is enabled, false otherwise.
Note: LAN CACHE IS NOT SUPPORTED FOR THIS RELEASE.public boolean isLANCacheEnabled()
public boolean isServerAvailable(boolean fromAdmin)
fromAdmin
- if the administrator is setting or runtime clientpublic void setServerAvailable(boolean serverAvail, boolean fromAdmin)
serverAvail
- - true if want to set the resource manager offline, false otherwisefromAdmin
- - if the administrator is setting or runtime clientpublic void addAccessType(DKAccessTypeDef accessTypeObj)
accessTypeObj
- DKAccessTypeDef - access protocol object to be added to this resource managerpublic void removeAccessType(java.lang.String name)
name
- String - access protocol name to be removedpublic void removeAccessType(java.lang.String name, short portNumber)
name
- String - access protocol name to be removedportNumber
- short - port number for the protocol to be removedpublic void setAdminDomain(dkAdminDomainDef domain)
domain
- - the administrative domain to which this resource manager belongs to.public dkAdminDomainDef getAdminDomain()
public java.lang.String getRMUserid()
public void setRMUserid(java.lang.String uid)
uid
- - resource manager SMS administrative userid.This userid can be up to 32 characters.
NOTE: If you are updating the SMS administative userid please make sure that you are also updating this userid
in the Resource Manager. Use the System Administration Client to do this.public void setRMPasswd(java.lang.String pwd)
pwd
- - SMS administer's password for this resource manager.
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |