ValidatingManagedConnectionFactory (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.resource.spi Interface ValidatingManagedConnectionFactory


public interface ValidatingManagedConnectionFactory

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.

版本:
1.0
作者:
Ram Jeyaraman

方法摘要
 Set getInvalidConnections(Set connectionSet)
          This method returns a set of invalid ManagedConnection objects chosen from a specified set of ManagedConnection objects.
 

方法详细信息

getInvalidConnections

Set getInvalidConnections(Set connectionSet)
                          throws ResourceException
This method returns a set of invalid ManagedConnection objects chosen from a specified set of ManagedConnection objects.

参数:
connectionSet - a set of ManagedConnection objects that need to be validated.
返回:
a set of invalid ManagedConnection objects.
抛出异常:
ResourceException - generic exception.

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.