Package com.atomikos.datasource.pool

Examples of com.atomikos.datasource.pool.Reapable


  }
 
  public boolean canBeRecycledForCallingThread()
  {
    boolean ret = false;
    Reapable handle = getCurrentConnectionProxy();
    if ( handle != null ) {
       CompositeTransactionManager ctm = Configuration
             .getCompositeTransactionManager ();
       CompositeTransaction ct = null;
       if ( ctm != null ) ct = ctm.getCompositeTransaction ();
View Full Code Here


        Set interfaces = PropertyUtils.getAllImplementedInterfaces ( c.getClass() );
        interfaces.add ( Reapable.class );
        //see case 24532
        interfaces.add ( DynamicProxy.class );
        Class[] interfaceClasses = ( Class[] ) interfaces.toArray ( new Class[0] );
        Reapable ret = null;
       
        List classLoaders = new ArrayList();
    classLoaders.add ( Thread.currentThread().getContextClassLoader() );
    classLoaders.add ( c.getClass().getClassLoader() );
    classLoaders.add ( AtomikosJmsConnectionProxy.class.getClassLoader() );
View Full Code Here

    return sessionHandleState.isActiveInTransaction ( ct );
  }

  public static Reapable newInstance ( Connection c , SessionHandleState sessionHandleState , HeuristicMessage hmsg )
  {
    Reapable ret = null;
        AtomikosConnectionProxy proxy = new AtomikosConnectionProxy(c, sessionHandleState , hmsg );
        Set interfaces = PropertyUtils.getAllImplementedInterfaces ( c.getClass() );
        interfaces.add ( Reapable.class );
        //see case 24532
        interfaces.add ( DynamicProxy.class );
View Full Code Here

TOP

Related Classes of com.atomikos.datasource.pool.Reapable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.