Class ResourceInfo
- java.lang.Object
-
- org.glassfish.resourcebase.resources.api.ResourceInfo
-
- All Implemented Interfaces:
Serializable,GenericResourceInfo
public class ResourceInfo extends Object implements GenericResourceInfo
Represents resource information (typically, bindable-resource)- Author:
- Jagadish Ramu
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceInfo(String name)ResourceInfo(String name, String applicationName)ResourceInfo(String name, String applicationName, String moduleName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetApplicationName()application in which the resource is definedStringgetModuleName()module in which the resource is definedStringgetName()name of the resourceinthashCode()StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:GenericResourceInfoname of the resource- Specified by:
getNamein interfaceGenericResourceInfo- Returns:
- String name
-
getApplicationName
public String getApplicationName()
Description copied from interface:GenericResourceInfoapplication in which the resource is defined- Specified by:
getApplicationNamein interfaceGenericResourceInfo- Returns:
- String application-name
-
getModuleName
public String getModuleName()
Description copied from interface:GenericResourceInfomodule in which the resource is defined- Specified by:
getModuleNamein interfaceGenericResourceInfo- Returns:
- String module-name
-
-