resource
to this Unit of Work under the given name
. The attached resource is not inherited by any nested Unit of Work (see {@link #attachResource(String,Object,boolean)}. If a resource was already attached under this name, it is overwritten. By convention, resources should be attached using the fully Qualified name of their type (or main interface). For example, a JDBC Connection should be attached using the name "java.sql.Connection". When there is a requirement to distinguish between different resources of the same type, their name may differ from this convention.
@param name The name under which to attach the resource
@param resource The resource to attach
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|