<resource-ref> element in the
deployment descriptor.
| Modifier and Type | Field and Description |
|---|---|
| private String | auth
The authorization requirement for this resource
( |
| private String | closeMethod
The name of the zero argument method to be called when the resource is no longer required to clean-up resources. |
| private boolean | |
| private String | scope
The sharing scope of this resource factory ( |
| private static final long | |
| private boolean | singleton
Is this resource known to be a singleton resource. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides org. Indicates whether some other object is "equal to" this one. |
| public String | |
| public String | |
| public boolean | |
| public String | |
| public boolean | |
| public int | hashCode()
Overrides org. Returns a hash code value for this object. |
| public void | |
| public void | |
| public void | |
| public void | |
| public String |
| auth | back to summary |
|---|---|
| private String auth The authorization requirement for this resource
( | |
| closeMethod | back to summary |
|---|---|
| private String closeMethod The name of the zero argument method to be called when the resource is no longer required to clean-up resources. This method must only speed up the clean-up of resources that would otherwise happen via garbage collection. | |
| closeMethodConfigured | back to summary |
|---|---|
| private boolean closeMethodConfigured | |
| scope | back to summary |
|---|---|
| private String scope The sharing scope of this resource factory ( | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. | |
| singleton | back to summary |
|---|---|
| private boolean singleton Is this resource known to be a singleton resource. The default value is true since this is what users expect although the Jakarta EE spec implies that the default should be false. | |
| ContextResource | back to summary |
|---|---|
| public ContextResource() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides org. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getAuth | back to summary |
|---|---|
| public String getAuth() | |
| getCloseMethod | back to summary |
|---|---|
| public String getCloseMethod() | |
| getCloseMethodConfigured | back to summary |
|---|---|
| public boolean getCloseMethodConfigured() | |
| getScope | back to summary |
|---|---|
| public String getScope() | |
| getSingleton | back to summary |
|---|---|
| public boolean getSingleton() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setAuth | back to summary |
|---|---|
| public void setAuth(String auth) | |
| setCloseMethod | back to summary |
|---|---|
| public void setCloseMethod(String closeMethod) | |
| setScope | back to summary |
|---|---|
| public void setScope(String scope) | |
| setSingleton | back to summary |
|---|---|
| public void setSingleton(boolean singleton) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Return a String representation of this object.
| |