org.glassfish.resource.common
Class PoolInfo

java.lang.Object
  extended by org.glassfish.resource.common.PoolInfo
All Implemented Interfaces:
java.io.Serializable, GenericResourceInfo

public class PoolInfo
extends java.lang.Object
implements GenericResourceInfo

Represents pool information.

Author:
Jagadish Ramu
See Also:
Serialized Form

Constructor Summary
PoolInfo(java.lang.String name)
           
PoolInfo(java.lang.String name, java.lang.String applicationName)
           
PoolInfo(java.lang.String name, java.lang.String applicationName, java.lang.String moduleName)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getApplicationName()
          application in which the resource is defined
 java.lang.String getModuleName()
          module in which the resource is defined
 java.lang.String getName()
          name of the resource
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PoolInfo

public PoolInfo(java.lang.String name)

PoolInfo

public PoolInfo(java.lang.String name,
                java.lang.String applicationName)

PoolInfo

public PoolInfo(java.lang.String name,
                java.lang.String applicationName,
                java.lang.String moduleName)
Method Detail

getName

public java.lang.String getName()
Description copied from interface: GenericResourceInfo
name of the resource

Specified by:
getName in interface GenericResourceInfo
Returns:
String name

getApplicationName

public java.lang.String getApplicationName()
Description copied from interface: GenericResourceInfo
application in which the resource is defined

Specified by:
getApplicationName in interface GenericResourceInfo
Returns:
String application-name

getModuleName

public java.lang.String getModuleName()
Description copied from interface: GenericResourceInfo
module in which the resource is defined

Specified by:
getModuleName in interface GenericResourceInfo
Returns:
String module-name

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2012 GlassFish Community. All Rights Reserved.