Index: ejb3/.classpath =================================================================== --- ejb3/.classpath (revision 81697) +++ ejb3/.classpath (working copy) @@ -23,5 +23,6 @@ + Index: ejb3/src/main/org/jboss/as/ejb3/connectionmanager/CachedConnectionManagerBridge.java =================================================================== --- ejb3/src/main/org/jboss/as/ejb3/connectionmanager/CachedConnectionManagerBridge.java (revision 0) +++ ejb3/src/main/org/jboss/as/ejb3/connectionmanager/CachedConnectionManagerBridge.java (revision 0) @@ -0,0 +1,58 @@ +/* + * JBoss, Home of Professional Open Source. + * Copyright 2008, Red Hat Middleware LLC, and individual contributors + * as indicated by the @author tags. See the copyright.txt file in the + * distribution for a full listing of individual contributors. + * + * This is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation; either version 2.1 of + * the License, or (at your option) any later version. + * + * This software is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this software; if not, write to the Free + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + * 02110-1301 USA, or see the FSF site: http://www.fsf.org. + */ +package org.jboss.as.ejb3.connectionmanager; + +import java.util.Set; + +import javax.resource.ResourceException; + +import org.jboss.beans.metadata.api.annotations.Inject; +import org.jboss.ejb3.connectionmanager.CachedConnectionManager; + +/** + * @author Carlo de Wolf + * @version $Revision: $ + */ +public class CachedConnectionManagerBridge implements CachedConnectionManager +{ + private org.jboss.resource.connectionmanager.CachedConnectionManager delegate; + + public CachedConnectionManagerBridge() + { + } + + public void popMetaDataAwareObject(Set unsharableResources) throws ResourceException + { + delegate.popMetaAwareObject(unsharableResources); + } + + public void pushMetaDataAwareObject(Object key, Set unsharableResources) throws ResourceException + { + delegate.pushMetaAwareObject(key, unsharableResources); + } + + @Inject + public void setDelegate(org.jboss.resource.connectionmanager.CachedConnectionManager ccm) + { + this.delegate = ccm; + } +} Index: ejb3/build.xml =================================================================== --- ejb3/build.xml (revision 81697) +++ ejb3/build.xml (working copy) @@ -143,6 +143,7 @@ + @@ -342,6 +343,7 @@ +