|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.mmconsole.extension.Resource
com.ibm.mmconsole.extension.ApplicationServerResource
public class ApplicationServerResource
This class represents a resource of the type application server. This class can be used to retrieve known properties of the server, such as: server instance name or the profile name.
| Field Summary |
|---|
| Fields inherited from class com.ibm.mmconsole.extension.Resource |
|---|
APP_SERVER, DATABASE, UNKNOWN_RESOURCE, WEB_SERVER |
| Fields inherited from interface com.ibm.mmconsole.extension.IConsoleContainer |
|---|
DEFAULT_STRING |
| Constructor Summary | |
|---|---|
ApplicationServerResource(java.lang.String uid,
java.util.Hashtable titles,
java.lang.String server,
java.lang.String agentPort,
java.lang.String version,
java.lang.String propPageNavId,
java.lang.String adminPort,
java.lang.String appPort,
java.lang.String profileName,
java.lang.String serverInstance,
java.lang.String profileBinPath)
Initializes an application resource with the specified data. |
|
| Method Summary | |
|---|---|
void |
destroy()
destroy method for cleanup |
java.lang.String |
getAdminPort()
Returns the port which the administrative console runs on. |
java.lang.String |
getApplicationPort()
Returns the port the which a server application runs on. |
java.lang.String |
getProfileBinPath()
Returns the bin directory for the profile. |
java.lang.String |
getProfileName()
Returns the name of the profile. |
java.lang.String |
getServerInstanceName()
Returns the name of the server instance. |
int |
getType()
Returns the type of resource this is. |
| Methods inherited from class com.ibm.mmconsole.extension.Resource |
|---|
getAgentPort, getDefaultTitle, getLocalizedTitle, getPropertiesPageNavId, getServer, getUniqueId, getVersion, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationServerResource(java.lang.String uid,
java.util.Hashtable titles,
java.lang.String server,
java.lang.String agentPort,
java.lang.String version,
java.lang.String propPageNavId,
java.lang.String adminPort,
java.lang.String appPort,
java.lang.String profileName,
java.lang.String serverInstance,
java.lang.String profileBinPath)
BusinessApplication.getResources()
uid - - A String representing the unique ID for this resource.titles - - A Hashtable containing all the available localized and default titles for the resource.server - - A String representing the name of the host where the resource is located.agentPort - - A String representing the port that the console agent is running on.version - - A String representing the version of the resource.propPageNavId - - A String representing the navigation ID of the task page for the resource property page.adminPort - - A String representing the port on which the server's administrative console runs on.appPort - - A String representing the port which a server application runs on.profileName - - A String representing the name of profile for the application server.serverInstance - - A String representing the name of the server instance within the profile.profileBinPath - - A String representing the bin directory location for the profile.| Method Detail |
|---|
public void destroy()
destroy in interface IConsoleContainerdestroy in class Resourcepublic int getType()
getType in class ResourceResource.APP_SERVERpublic java.lang.String getAdminPort()
public java.lang.String getApplicationPort()
public java.lang.String getProfileName()
public java.lang.String getServerInstanceName()
public java.lang.String getProfileBinPath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||