|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.resource.spi Interface ValidatingManagedConnectionFactory
public interface ValidatingManagedConnectionFactory
此接口由支持验证
ManagedConnection
对象的 ManagedConnectionFactory
实例实现。
应用服务器可以使用此接口将无效的 ManagedConnection
对象从其连接池中清除。
version | 1.0 |
This interface is implemented by a ManagedConnectionFactory
instance that supports the ability to validate
ManagedConnection
objects.
This may be used by the application server to prune invalid
ManagedConnection
objects from its connection pool.
- Version:
- 1.0
- Author:
- Ram Jeyaraman
Method Summary | |
---|---|
Set |
getInvalidConnections(Set connectionSet)
This method returns a set of invalid ManagedConnection
objects chosen from a specified set of ManagedConnection
objects. |
Method Detail |
---|
public java.util.Set<E>
getInvalidConnections(java.util.Set<E> connectionSet) throws ResourceException
此方法返回从指定的 ManagedConnection
对象集合中选出的无效 ManagedConnection
对象集合。
connectionSet
需要验证的 ManagedConnection
对象集合。
return
无效的 ManagedConnection
对象集合。
Throws ResourceException:
一般异常。
英文文档:
此方法返回从指定的
ManagedConnection
对象集合中选出的无效 ManagedConnection
对象集合。
connectionSet |
需要验证的 ManagedConnection 对象集合。 |
return |
无效的 ManagedConnection 对象集合。 |
Throws | ResourceException: 一般异常。 |
getInvalidConnections
Set getInvalidConnections(Set connectionSet) throws ResourceException
- This method returns a set of invalid
ManagedConnection
objects chosen from a specified set ofManagedConnection
objects. - Parameters:
connectionSet
- a set ofManagedConnection
objects that need to be validated.- Returns:
- a set of invalid
ManagedConnection
objects. - Throws:
ResourceException
- generic exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!