Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jboss.resource.connectionmanager
Class BaseConnectionManager2.ConnectionManagerProxy  view BaseConnectionManager2.ConnectionManagerProxy download BaseConnectionManager2.ConnectionManagerProxy.java

java.lang.Object
  extended byorg.jboss.resource.connectionmanager.BaseConnectionManager2.ConnectionManagerProxy
All Implemented Interfaces:
javax.resource.spi.ConnectionManager, java.io.Serializable
Enclosing class:
BaseConnectionManager2

public static class BaseConnectionManager2.ConnectionManagerProxy
extends java.lang.Object
implements javax.resource.spi.ConnectionManager, java.io.Serializable


Field Summary
private  javax.management.ObjectName cmName
           
private  BaseConnectionManager2 realCm
           
 
Constructor Summary
(package private) BaseConnectionManager2.ConnectionManagerProxy(BaseConnectionManager2 realCm, javax.management.ObjectName cmName)
           
 
Method Summary
 java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo cri)
           
private  BaseConnectionManager2 getCM()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

realCm

private transient BaseConnectionManager2 realCm

cmName

private final javax.management.ObjectName cmName
Constructor Detail

BaseConnectionManager2.ConnectionManagerProxy

BaseConnectionManager2.ConnectionManagerProxy(BaseConnectionManager2 realCm,
                                              javax.management.ObjectName cmName)
Method Detail

allocateConnection

public java.lang.Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf,
                                           javax.resource.spi.ConnectionRequestInfo cri)
                                    throws javax.resource.ResourceException
Specified by:
allocateConnection in interface javax.resource.spi.ConnectionManager

getCM

private BaseConnectionManager2 getCM()
                              throws javax.resource.ResourceException