org.glassfish.resource.common
Class Resource
java.lang.Object
org.glassfish.resource.common.Resource
public class Resource
- extends Object
Class which represents the Resource.
CUSTOM_RESOURCE
public static final String CUSTOM_RESOURCE
- See Also:
- Constant Field Values
CONNECTOR_RESOURCE
public static final String CONNECTOR_RESOURCE
- See Also:
- Constant Field Values
ADMIN_OBJECT_RESOURCE
public static final String ADMIN_OBJECT_RESOURCE
- See Also:
- Constant Field Values
JDBC_RESOURCE
public static final String JDBC_RESOURCE
- See Also:
- Constant Field Values
MAIL_RESOURCE
public static final String MAIL_RESOURCE
- See Also:
- Constant Field Values
EXTERNAL_JNDI_RESOURCE
public static final String EXTERNAL_JNDI_RESOURCE
- See Also:
- Constant Field Values
JDBC_CONNECTION_POOL
public static final String JDBC_CONNECTION_POOL
- See Also:
- Constant Field Values
CONNECTOR_CONNECTION_POOL
public static final String CONNECTOR_CONNECTION_POOL
- See Also:
- Constant Field Values
RESOURCE_ADAPTER_CONFIG
public static final String RESOURCE_ADAPTER_CONFIG
- See Also:
- Constant Field Values
PERSISTENCE_MANAGER_FACTORY_RESOURCE
public static final String PERSISTENCE_MANAGER_FACTORY_RESOURCE
- See Also:
- Constant Field Values
CONNECTOR_SECURITY_MAP
public static final String CONNECTOR_SECURITY_MAP
- See Also:
- Constant Field Values
CONNECTOR_WORK_SECURITY_MAP
public static final String CONNECTOR_WORK_SECURITY_MAP
- See Also:
- Constant Field Values
BINDABLE_RESOURCES
public static final List BINDABLE_RESOURCES
RESOURCE_POOL
public static final List RESOURCE_POOL
Resource
public Resource(String type)
getType
public String getType()
getAttributes
public HashMap getAttributes()
setAttribute
public void setAttribute(String name,
String value)
setAttribute
public void setAttribute(String name,
String[] value)
setAttribute
public void setAttribute(String name,
Properties value)
setDescription
public void setDescription(String sDescription)
getDescription
public String getDescription()
setProperty
public void setProperty(String name,
String value)
getProperties
public Properties getProperties()
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
isAConflict
public boolean isAConflict(Resource r)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012 GlassFish Community. All Rights Reserved.