|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Inferface used to create session components for data service resources.
Method Summary | |
SessionCoordinator |
getSessionCoordinator()
Gets the session coordinator for the data service resource. |
void |
setDataResourceAccessor(DataResourceAccessor dataResourceAccessor)
Specifies the data resource accessor associated with the data service resource. |
void |
setResourceProperties(Properties resourceProperties)
Specifies the data resource properties associated with the data resource. |
Method Detail |
public void setDataResourceAccessor(DataResourceAccessor dataResourceAccessor)
dataResourceAccessor
- The data resource accessor.
java.lang.IllegalArgumentException
- If the argument is null.public void setResourceProperties(Properties resourceProperties)
resourceProperties
-
java.lang.IllegalArgumentException
- If the argument is null.public SessionCoordinator getSessionCoordinator() throws DAIException
setDataResourceAccessor
and
setResourceProperties
methods have both been called.
java.lang.IllegalStateException
- If this method is called before the
setDataResourceAccessor
and
setResourceProperties
methods have been called.
DAIException
- If an error occurs constructing the serssion coordinator.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |