|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceAdapterAssociation
This interface specifies the methods to associate a
ResourceAdapter
object with other objects that
implement this interface like
ManagedConnectionFactory
and ActivationSpec
.
Method Summary | |
---|---|
ResourceAdapter |
getResourceAdapter()
Get the associated ResourceAdapter object. |
void |
setResourceAdapter(ResourceAdapter ra)
Associate this object with a ResourceAdapter object. |
Method Detail |
---|
ResourceAdapter getResourceAdapter()
ResourceAdapter
object.
ResourceAdapter
object.void setResourceAdapter(ResourceAdapter ra) throws ResourceException
ResourceAdapter
object.
Note, this method must be called exactly once. That is, the
association must not change during the lifetime of this object.
ra
- ResourceAdapter
object to be associated with.
ResourceException
- generic exception.
ResourceAdapterInternalException
- resource adapter related error condition.
IllegalStateException
- indicates that this object is in an
illegal state for the method invocation. For example, this occurs when
this method is called more than once on the same object.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 4-June-2010 04:34