geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject cvs commit: incubator-geronimo/modules/transaction/src/java/org/apache/geronimo/transaction TrackedConnectionAssociator.java
Date Mon, 24 May 2004 19:11:14 GMT
djencks     2004/05/24 12:11:14

  Modified:    modules/transaction/src/java/org/apache/geronimo/transaction
                        TrackedConnectionAssociator.java
  Log:
  Refactor and implement support for res-sharing-scope and res-auth choices
  
  Revision  Changes    Path
  1.2       +9 -3      incubator-geronimo/modules/transaction/src/java/org/apache/geronimo/transaction/TrackedConnectionAssociator.java
  
  Index: TrackedConnectionAssociator.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/transaction/src/java/org/apache/geronimo/transaction/TrackedConnectionAssociator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TrackedConnectionAssociator.java	6 Apr 2004 00:21:20 -0000	1.1
  +++ TrackedConnectionAssociator.java	24 May 2004 19:11:14 -0000	1.2
  @@ -30,7 +30,7 @@
   public interface TrackedConnectionAssociator {
   
       ConnectorContextInfo enter(InstanceContext newInstanceContext,
  -                               Set unshareableResources)
  +                               Set unshareableResources, Set applicationManagedSecurityResources)
               throws ResourceException;
   
       void newTransaction() throws ResourceException;
  @@ -41,10 +41,12 @@
       class ConnectorContextInfo {
           private final InstanceContext instanceContext;
           private final Set unshareableResources;
  +        private final Set applicationManagedSecurityResources;
   
  -        public ConnectorContextInfo(InstanceContext instanceContext, Set unshareableResources)
{
  +        public ConnectorContextInfo(InstanceContext instanceContext, Set unshareableResources,
Set applicationManagedSecurityResources) {
               this.instanceContext = instanceContext;
               this.unshareableResources = unshareableResources;
  +            this.applicationManagedSecurityResources = applicationManagedSecurityResources;
           }
   
           public InstanceContext getInstanceContext() {
  @@ -53,6 +55,10 @@
   
           public Set getUnshareableResources() {
               return unshareableResources;
  +        }
  +
  +        public Set getApplicationManagedSecurityResources() {
  +            return applicationManagedSecurityResources;
           }
       }
   }
  
  
  

Mime
View raw message