|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.mmconsole.extension.Resource
public abstract class Resource
This class represents a resource configured within the console. This class can be used to retrieve known properties of the resource, such as: server name or version.
| Field Summary | |
|---|---|
static int |
APP_SERVER
Application Server |
static int |
DATABASE
Database Server |
static int |
UNKNOWN_RESOURCE
Unknown resource type |
static int |
WEB_SERVER
Web (HTTP) Server |
| Fields inherited from interface com.ibm.mmconsole.extension.IConsoleContainer |
|---|
DEFAULT_STRING |
| Method Summary | |
|---|---|
void |
destroy()
destroy method for cleanup |
java.lang.String |
getAgentPort()
Returns the value of the console agent port. |
java.lang.String |
getDefaultTitle()
Returns the default title for this console object |
java.lang.String |
getLocalizedTitle(java.util.Locale locale)
Returns the localized title for this console object |
java.lang.String |
getPropertiesPageNavId()
Returns the navigation ID for the resource's properties page |
java.lang.String |
getServer()
Returns the server name for this resource. |
int |
getType()
Returns the type of resource. |
java.lang.String |
getUniqueId()
Returns the unique ID for this console object |
java.lang.String |
getVersion()
Returns the version of the resource. |
java.lang.String |
toString()
Returns a String representation of the resource. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int APP_SERVER
public static final int WEB_SERVER
public static final int DATABASE
public static final int UNKNOWN_RESOURCE
| Method Detail |
|---|
public java.lang.String getPropertiesPageNavId()
public void destroy()
destroy in interface IConsoleContainerpublic java.lang.String getUniqueId()
getUniqueId in interface IConsoleContainerpublic java.lang.String getDefaultTitle()
getDefaultTitle in interface IConsoleContainerpublic java.lang.String getLocalizedTitle(java.util.Locale locale)
getLocalizedTitle in interface IConsoleContainerlocale - - Locale to use for the title string.
public int getType()
UNKNOWN_RESOURCE, APP_SERVER,
WEB_SERVER, DATABASEpublic java.lang.String getServer()
public java.lang.String getAgentPort()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getVersion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||