[jboss-cvs] JBossAS SVN: r67788 - projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Dec 3 12:54:56 EST 2007


Author: ALRubinger
Date: 2007-12-03 12:54:56 -0500 (Mon, 03 Dec 2007)
New Revision: 67788

Added:
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/AspectDomainImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CacheConfigImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CacheImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ClusteredImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ConsumerImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CurrentMessageImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DefaultActivationSpecsImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DefaultInterceptorMarkerImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DependsImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ExcludeClassInterceptorsImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ExcludeDefaultInterceptorsImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/IgnoreDependencyImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/JndiBindingPolicyImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalBindingImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalHomeBindingImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalHomeImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ManagementImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/MessagePropertiesImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/PersistenceManagerImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/PoolImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteBindingImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteBindingsImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteHomeBindingImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteHomeImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ResourceAdapterImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RunAsPrincipalImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/SecurityDomainImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/SerializedConcurrentAccessImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ServiceImpl.java
   projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/TransactionTimeoutImpl.java
Log:
[EJBTHREE-1144] Used command-line "svn copy" to obtain all Annotation Imp classes

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/AspectDomainImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/AspectDomainImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/AspectDomainImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/AspectDomainImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ * @version $Revision$
+ */
+public class AspectDomainImpl implements AspectDomain
+{
+   String value = "";
+
+   public AspectDomainImpl(String value)
+   {
+      this.value = value;
+   }
+   
+   public String value()
+   {
+      return value;
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return AspectDomain.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CacheConfigImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/cache/CacheConfigImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CacheConfigImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CacheConfigImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,133 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, 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.annotation.ejb.cache;
+
+import java.lang.annotation.Annotation;
+
+/**
+ * Implementation of CacheConfig Annotation
+ * 
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: $
+ */
+public class CacheConfigImpl implements CacheConfig
+{
+
+   // Instance Members
+
+   private String name;
+
+   private int maxSize = CacheConfig.DEFAULT_NONCLUSTERED_MAX_SIZE;
+
+   private long idleTimeoutSeconds = CacheConfig.DEFAULT_IDLE_TIMEOUT_SECONDS;
+
+   private long removalTimeoutSeconds = CacheConfig.DEFAULT_REMOVAL_TIMEOUT_SECONDS;
+
+   private boolean replicationIsPassivation = CacheConfig.DEFAULT_REPL_IS_PASV;
+
+   // Constructor
+
+   public CacheConfigImpl()
+   {
+   }
+
+   // Accessors / Mutators
+
+   public String name()
+   {
+      return name;
+   }
+
+   public void setName(String name)
+   {
+      this.name = name;
+   }
+
+   public int maxSize()
+   {
+      return maxSize;
+   }
+
+   public void setMaxSize(int maxSize)
+   {
+      this.maxSize = maxSize;
+   }
+
+   public long idleTimeoutSeconds()
+   {
+      return idleTimeoutSeconds;
+   }
+
+   public void setIdleTimeoutSeconds(long idleTimeoutSeconds)
+   {
+      this.idleTimeoutSeconds = idleTimeoutSeconds;
+   }
+
+   public long removalTimeoutSeconds()
+   {
+      return removalTimeoutSeconds;
+   }
+
+   public void setRemovalTimeoutSeconds(long removalTimeoutSeconds)
+   {
+      this.removalTimeoutSeconds = removalTimeoutSeconds;
+   }
+
+   public boolean replicationIsPassivation()
+   {
+      return replicationIsPassivation;
+   }
+
+   public void setReplicationIsPassivation(boolean replicationIsPassivation)
+   {
+      this.replicationIsPassivation = replicationIsPassivation;
+   }
+
+   public void merge(CacheConfig annotation)
+   {
+      if (maxSize == CacheConfig.DEFAULT_NONCLUSTERED_MAX_SIZE)
+      {
+         maxSize = annotation.maxSize();
+      }
+
+      if (idleTimeoutSeconds == CacheConfig.DEFAULT_IDLE_TIMEOUT_SECONDS)
+      {
+         idleTimeoutSeconds = annotation.idleTimeoutSeconds();
+      }
+
+      if (removalTimeoutSeconds == CacheConfig.DEFAULT_REMOVAL_TIMEOUT_SECONDS)
+      {
+         removalTimeoutSeconds = annotation.removalTimeoutSeconds();
+      }
+
+      if (replicationIsPassivation == CacheConfig.DEFAULT_REPL_IS_PASV)
+      {
+         replicationIsPassivation = annotation.replicationIsPassivation();
+      }
+
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return CacheConfig.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CacheImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/cache/CacheImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CacheImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CacheImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,52 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, 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.annotation.ejb.cache;
+
+import java.lang.annotation.Annotation;
+
+import org.jboss.ejb3.cache.Ejb3CacheFactory;
+
+/**
+ * Implementation of @Cache annotation
+ * 
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision$
+ */
+public class CacheImpl implements Cache
+{
+   private String value;
+
+   public CacheImpl(String value)
+   {
+      this.value = value;
+   }
+
+   public String value()
+   {
+      return value;
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return Cache.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ClusteredImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/ClusteredImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ClusteredImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ClusteredImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,85 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import org.jboss.annotation.ejb.Clustered;
+import org.jboss.ha.client.loadbalance.LoadBalancePolicy;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision$
+ */
+public class ClusteredImpl implements Clustered
+{
+   private Class loadBalancePolicy = LoadBalancePolicy.class;
+   private Class homeLoadBalancePolicy = LoadBalancePolicy.class;
+   private String partition = "${jboss.partition.name:DefaultPartition}";
+   
+
+   public Class loadBalancePolicy()
+   {
+      return loadBalancePolicy;
+   }
+   
+   public void setLoadBalancePolicy(Class loadBalancePolicy)
+   {
+      this.loadBalancePolicy = loadBalancePolicy;
+   }
+
+   public String partition()
+   {
+      return partition;
+   }
+   
+   public void setPartition(String partition)
+   {
+      this.partition = partition;
+   }
+
+   public Class homeLoadBalancePolicy()
+   {
+      return homeLoadBalancePolicy;
+   }
+
+   public void setHomeLoadBalancePolicy(Class homeLoadBalancePolicy)
+   {
+      this.homeLoadBalancePolicy = homeLoadBalancePolicy;
+   }
+
+   public Class annotationType()
+   {
+      return Clustered.class;
+   }
+   
+   public String toString()
+   {
+      StringBuffer sb = new StringBuffer(100);
+      sb.append("[");
+      sb.append("loadBalancePolicy=").append(loadBalancePolicy);
+      sb.append("homeLoadBalancePolicy=").append(homeLoadBalancePolicy);
+      sb.append("partition=").append(partition);
+      sb.append("]");
+      return sb.toString();
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ConsumerImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/ConsumerImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ConsumerImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ConsumerImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,87 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.Iterator;
+
+import javax.ejb.ActivationConfigProperty;
+
+import org.jboss.annotation.ejb.RemoteBinding;
+
+/**
+ * @version <tt>$Revision$</tt>
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+public class ConsumerImpl implements Consumer
+{
+   private String name = "";
+   private HashMap<String, ActivationConfigProperty> activationConfig = new HashMap<String, ActivationConfigProperty>();
+   
+   public ConsumerImpl(Consumer consumer)
+   {
+      if (consumer != null)
+      {
+         name = consumer.name();
+         if (consumer.activationConfig() != null)
+         {
+            for (ActivationConfigProperty prop : consumer.activationConfig())
+            {
+               activationConfig.put(prop.propertyName(), prop);
+            }
+         }
+      }
+   }
+   
+   public String name()
+   {
+      return name;
+   }
+   
+   public void setName(String name)
+   {
+      this.name = name;
+   }
+   
+   public ActivationConfigProperty[] activationConfig()
+   {
+      ActivationConfigProperty[] result = new ActivationConfigProperty[activationConfig.size()];
+      int i = 0;
+      for (Iterator<ActivationConfigProperty> it = activationConfig.values().iterator() ; it.hasNext() ; )
+      {
+         result[i++] = it.next(); 
+      }
+      return result;
+   }
+   
+   public void addActivationConfig(ActivationConfigProperty config)
+   {
+      activationConfig.put(config.propertyName(), config);
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return Consumer.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CurrentMessageImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/CurrentMessageImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CurrentMessageImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CurrentMessageImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+import java.util.ArrayList;
+
+import org.jboss.annotation.ejb.RemoteBinding;
+
+/**
+ * @version <tt>$Revision$</tt>
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+public class CurrentMessageImpl implements CurrentMessage
+{
+   
+   public CurrentMessageImpl()
+   {
+      
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return CurrentMessage.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DefaultActivationSpecsImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/DefaultActivationSpecsImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DefaultActivationSpecsImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DefaultActivationSpecsImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,70 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+import java.util.ArrayList;
+import java.util.HashMap;
+
+import javax.ejb.ActivationConfigProperty;
+import javax.ejb.MessageDriven;
+
+/**
+ * @version <tt>$Revision$</tt>
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+public class DefaultActivationSpecsImpl implements DefaultActivationSpecs
+{
+   private HashMap activationConfigProperties = new HashMap();
+   
+   public DefaultActivationSpecsImpl()
+   {
+   }
+   
+   public ActivationConfigProperty[] value()
+   {
+      ActivationConfigProperty[] value = new ActivationConfigProperty[activationConfigProperties.size()];
+      activationConfigProperties.values().toArray(value);
+      return value;
+   }
+   
+   public void addActivationConfigProperty(ActivationConfigProperty property)
+   {
+      activationConfigProperties.put(property.propertyName(), property);
+   }
+   
+   public void merge(DefaultActivationSpecs annotation)
+   {   
+      for (ActivationConfigProperty property : annotation.value())
+      {
+         if (!activationConfigProperties.containsKey(property.propertyName()))
+         {
+            activationConfigProperties.put(property.propertyName(), property);
+         }
+      }
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return DefaultActivationSpecs.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DefaultInterceptorMarkerImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/internal/DefaultInterceptorMarkerImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DefaultInterceptorMarkerImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DefaultInterceptorMarkerImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.internal;
+
+import java.lang.annotation.Annotation;
+
+/**
+ * 
+ * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
+ * @version $Revision$
+ */
+public class DefaultInterceptorMarkerImpl implements DefaultInterceptorMarker
+{
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return DefaultInterceptorMarker.class;
+   }
+   
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DependsImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/DependsImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DependsImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DependsImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,55 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+import java.util.ArrayList;
+
+/**
+ * @version <tt>$Revision$</tt>
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+public class DependsImpl implements Depends
+{
+   private ArrayList<String> dependencies = new ArrayList();
+   
+   public DependsImpl()
+   {
+   }
+   
+   public String[] value()
+   {
+      String[] value = new String[dependencies.size()];
+      dependencies.toArray(value);
+      return value;
+   }
+   
+   public void addDependency(String dependency)
+   {
+      dependencies.add(dependency);
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return Depends.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ExcludeClassInterceptorsImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/ExcludeClassInterceptorsImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ExcludeClassInterceptorsImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ExcludeClassInterceptorsImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+
+import javax.interceptor.ExcludeClassInterceptors;
+
+/**
+ * 
+ * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
+ * @version $Revision$
+ */
+public class ExcludeClassInterceptorsImpl implements ExcludeClassInterceptors
+{
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return ExcludeClassInterceptors.class;
+   }
+
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ExcludeDefaultInterceptorsImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/ExcludeDefaultInterceptorsImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ExcludeDefaultInterceptorsImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ExcludeDefaultInterceptorsImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+
+import javax.interceptor.ExcludeDefaultInterceptors;
+
+/**
+ * 
+ * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
+ * @version $Revision$
+ */
+public class ExcludeDefaultInterceptorsImpl implements ExcludeDefaultInterceptors
+{
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return ExcludeDefaultInterceptors.class;
+   }
+
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/IgnoreDependencyImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/IgnoreDependencyImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/IgnoreDependencyImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/IgnoreDependencyImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation;
+
+import java.lang.annotation.Annotation;
+
+/**
+ * @version <tt>$Revision$</tt>
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+public class IgnoreDependencyImpl implements IgnoreDependency
+{
+   public IgnoreDependencyImpl()
+   {
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return IgnoreDependency.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/JndiBindingPolicyImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/JndiBindingPolicyImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/JndiBindingPolicyImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/JndiBindingPolicyImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,58 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2007, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+
+import org.jboss.ejb3.jndipolicy.DefaultJndiBindingPolicy;
+
+/**
+ * Implementation of JndiBindingPolicy annotation
+ * 
+ * @author <a href="mailto:andrew.rubinger at redhat.com">ALR</a>
+ * @version $Revision: $
+ */
+public class JndiBindingPolicyImpl implements JndiBindingPolicy
+{
+   
+   // Instance Members
+   private Class<? extends DefaultJndiBindingPolicy> policy;
+   
+   // Contracts
+   
+   public Class<? extends DefaultJndiBindingPolicy> policy(){
+      return policy;
+   }
+   
+   public void setPolicy(Class<? extends DefaultJndiBindingPolicy> policy)
+   {
+      this.policy = policy;
+   }
+   
+   // Required Implementations
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return JndiBindingPolicy.class;
+   }
+
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalBindingImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/LocalBindingImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalBindingImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalBindingImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,51 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+import org.jboss.annotation.ejb.LocalBinding;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision$
+ */
+public class LocalBindingImpl implements LocalBinding
+{
+   private String jndi;
+
+   public LocalBindingImpl(String jndi)
+   {
+      this.jndi = jndi;
+   }
+
+   public String jndiBinding()
+   {
+      return jndi;
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return LocalBinding.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalHomeBindingImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/LocalHomeBindingImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalHomeBindingImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalHomeBindingImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,49 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+public class LocalHomeBindingImpl implements LocalHomeBinding
+{
+   private String jndi;
+
+   public LocalHomeBindingImpl(String jndi)
+   {
+      this.jndi = jndi;
+   }
+
+   public String jndiBinding()
+   {
+      return jndi;
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return LocalHomeBinding.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalHomeImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/LocalHomeImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalHomeImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalHomeImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import javax.ejb.LocalHome;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision$
+ */
+public class LocalHomeImpl implements LocalHome
+{
+   private Class<?> value;
+
+   public LocalHomeImpl(Class<?> value)
+   {
+      this.value = value;
+   }
+
+   public Class<?> value()
+   {
+      return value;
+   }
+
+   public Class<LocalHome> annotationType()
+   {
+      return LocalHome.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/LocalImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,44 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+import org.jboss.annotation.ejb.LocalBinding;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ * @version $Revision$
+ */
+public class LocalImpl implements Local
+{
+
+   public LocalImpl()
+   {
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return Local.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ManagementImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/ManagementImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ManagementImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ManagementImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,56 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+import java.util.ArrayList;
+
+import org.jboss.annotation.ejb.RemoteBinding;
+
+/**
+ * @version <tt>$Revision$</tt>
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+public class ManagementImpl implements Management
+{
+   private Class value;
+
+   public ManagementImpl(Class value)
+   {
+      this.value = value;
+   }
+   
+   public void setObjectName(Class value)
+   {
+      this.value = value;
+   }
+   
+   public Class value()
+   {
+      return value;
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return Management.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/MessagePropertiesImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/MessagePropertiesImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/MessagePropertiesImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/MessagePropertiesImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+import java.io.Serializable;
+import org.jboss.annotation.ejb.DeliveryMode;
+import org.jboss.annotation.ejb.MessageProperties;
+
+/**
+ * comment
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ */
+public class MessagePropertiesImpl implements MessageProperties, Serializable
+{   
+   private static final long serialVersionUID = 4630480271844522009L;
+   
+   private DeliveryMode deliveryMode = DeliveryMode.PERSISTENT;
+   private int ttl = 0;
+   private int priority = 4;
+   private Class interfac;
+
+   public MessagePropertiesImpl(DeliveryMode deliveryMode, int ttl, int priority)
+   {
+      this.deliveryMode = deliveryMode;
+      this.ttl = ttl;
+      this.priority = priority;
+   }
+
+   public MessagePropertiesImpl(MessageProperties props)
+   {
+      deliveryMode = props.delivery();
+      ttl = props.timeToLive();
+      priority = props.priority();
+   }
+   
+   public void setDelivery(DeliveryMode mode)
+   {
+      this.deliveryMode = mode;
+   }
+   
+   public void setPriority(int priority)
+   {
+      this.priority = priority;
+   }
+
+   public MessagePropertiesImpl()
+   {
+
+   }
+
+   public DeliveryMode delivery()
+   {
+      return deliveryMode;
+   }
+
+   public int timeToLive()
+   {
+      return ttl;
+   }
+
+   public int priority()
+   {
+      return priority;
+   }
+   
+   public Class getInterface()
+   {
+      return interfac;
+   }
+   
+   public void setInterface(Class interfac)
+   {
+      this.interfac = interfac;
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return MessageProperties.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/PersistenceManagerImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/cache/simple/PersistenceManagerImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/PersistenceManagerImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/PersistenceManagerImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,54 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb.cache.simple;
+
+import java.lang.annotation.Annotation;
+
+import org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager;
+
+/**
+ * @version <tt>$Revision$</tt>
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+public class PersistenceManagerImpl implements PersistenceManager
+{
+   private Class value = StatefulSessionFilePersistenceManager.class;
+
+   public PersistenceManagerImpl()
+   {
+   }
+   
+   public Class value()
+   {
+      return value;
+   }
+   
+   public void setValue(Class value)
+   {
+      this.value = value;
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return PersistenceManager.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/PoolImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/PoolImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/PoolImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/PoolImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,85 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+
+/**
+ * @version <tt>$Revision$</tt>
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+public class PoolImpl implements Pool
+{
+   public String value;
+   public int maxSize = 30;
+   public long timeout = Long.MAX_VALUE;
+
+   public PoolImpl()
+   {
+   }
+   
+   public String value()
+   {
+      return value;
+   }
+   
+   public void setValue(String value)
+   {
+      this.value = value;
+   }
+
+   public int maxSize()
+   {
+      return maxSize;
+   }
+   
+   public void setMaxSize(int maxSize)
+   {
+      this.maxSize = maxSize;
+   }
+
+   public long timeout()
+   {
+      return timeout;
+   }
+   
+   public void setTimeout(long timeout)
+   {
+      this.timeout = timeout;
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return Pool.class;
+   }
+   
+   public String toString()
+   {
+      StringBuffer sb = new StringBuffer(100);
+      sb.append("[PoolFactory name:");
+      sb.append("value=").append(value);
+      sb.append(", maxSize=").append(maxSize);
+      sb.append(", timeout=").append(timeout);
+      sb.append("]");
+      return sb.toString();
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteBindingImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/RemoteBindingImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteBindingImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteBindingImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,137 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+
+import org.jboss.ejb3.defaults.RemoteBindingDefaults;
+import org.jboss.ejb3.util.Debugger;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision$
+ */
+public class RemoteBindingImpl implements RemoteBinding
+{
+   private String jndi;
+   private String stack;
+   private String bindUrl;
+   private String proxyFactory;
+   
+   private StackTraceElement constructionPoint;
+   
+   public RemoteBindingImpl()
+   {
+      jndi = "";
+      stack = "";
+      bindUrl = "";
+      proxyFactory = RemoteBindingDefaults.PROXY_FACTORY_DEFAULT;
+      
+      this.constructionPoint = Debugger.constructionPoint();
+   }
+
+   public RemoteBindingImpl(String jndi, String stack, String bindUrl, String proxyFactory)
+   {
+      this.jndi = jndi;
+      this.stack = stack;
+      this.bindUrl = bindUrl;
+      this.proxyFactory = proxyFactory;
+      
+      this.constructionPoint = Debugger.constructionPoint();
+   }
+   
+   public void setStack(String stack)
+   {
+      this.stack = stack;
+   }
+   
+   public void setFactory(String factory)
+   {
+      this.proxyFactory = factory;
+   }
+   
+   public void setJndiBinding(String jndi)
+   {
+      this.jndi = jndi;
+   }
+   
+   public void setBindUrl(String bindUrl)
+   {
+      this.bindUrl = bindUrl;
+   }
+   
+   public String jndiBinding()
+   {
+      return jndi;
+   }
+
+   public String interceptorStack()
+   {
+      return stack;
+   }
+
+   public String clientBindUrl()
+   {
+      return bindUrl;
+   }
+
+   public String factory()
+   {
+      return proxyFactory;
+   }
+   
+   public void merge(RemoteBinding annotation)
+   {   
+      if (jndi.length() == 0)
+         jndi = annotation.jndiBinding();
+      
+      if (stack.length() == 0)
+         stack = annotation.interceptorStack();
+      
+      if (bindUrl.length() == 0)
+         bindUrl = annotation.clientBindUrl();
+      
+      if (proxyFactory.equals(RemoteBindingDefaults.PROXY_FACTORY_DEFAULT))
+         proxyFactory = annotation.factory();
+      
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return RemoteBinding.class;
+   }
+   
+   public String toString()
+   {
+      StringBuffer sb = new StringBuffer(100);
+      sb.append("[RemoteBindingImpl:");
+      sb.append(", jndi=" + jndi);
+      sb.append(", stack=" + stack);
+      sb.append(", bindUrl=" + bindUrl);
+      sb.append(", proxyFactory=" + proxyFactory);
+      sb.append(", constructionPoint=" + constructionPoint);
+      sb.append(']');
+      return sb.toString();
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteBindingsImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/RemoteBindingsImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteBindingsImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteBindingsImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,58 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+import java.util.List;
+import org.jboss.annotation.ejb.RemoteBinding;
+import org.jboss.annotation.ejb.RemoteBindings;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision$
+ */
+public class RemoteBindingsImpl implements RemoteBindings
+{
+   private RemoteBinding[] bindings;
+
+   public RemoteBindingsImpl(RemoteBinding[] bindings)
+   {
+      this.bindings = bindings;
+   }
+
+   public RemoteBindingsImpl(List bindings)
+   {
+      this.bindings = (RemoteBinding[])bindings.toArray(new RemoteBinding[bindings.size()]);
+   }
+
+   public RemoteBinding[] value()
+   {
+      return bindings;
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return RemoteBindings.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteHomeBindingImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/RemoteHomeBindingImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteHomeBindingImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteHomeBindingImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,74 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+import java.util.ArrayList;
+
+import javax.ejb.ActivationConfigProperty;
+import javax.ejb.MessageDriven;
+
+import org.jboss.annotation.ejb.RemoteBinding;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+public class RemoteHomeBindingImpl implements RemoteHomeBinding
+{
+   private String jndi;
+   
+   public RemoteHomeBindingImpl()
+   {
+      jndi = "";
+   }
+   
+   public RemoteHomeBindingImpl(String jndi)
+   {
+      this.jndi = jndi;
+   }
+   
+   public void setJndiBinding(String jndi)
+   {
+      this.jndi = jndi;
+   }
+   
+   public String jndiBinding()
+   {
+      return jndi;
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return RemoteHomeBinding.class;
+   }
+   
+   public String toString()
+   {
+      StringBuffer sb = new StringBuffer(100);
+      sb.append("[RemoteHomeBindingImpl:");
+      sb.append(", jndi=" + jndi);
+      sb.append(']');
+      return sb.toString();
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteHomeImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/RemoteHomeImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteHomeImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteHomeImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import javax.ejb.RemoteHome;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision$
+ */
+public class RemoteHomeImpl implements RemoteHome
+{
+   private Class<?> value;
+
+   public RemoteHomeImpl(Class<?> value)
+   {
+      this.value = value;
+   }
+
+   public Class<?> value()
+   {
+      return value;
+   }
+
+   public Class<RemoteHome> annotationType()
+   {
+      return RemoteHome.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ResourceAdapterImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/ResourceAdapterImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ResourceAdapterImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ResourceAdapterImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,48 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:bill at jboss.org">Bill Burke</a>
+ * @version $Revision$
+ */
+public class ResourceAdapterImpl implements ResourceAdapter
+{
+   private String adapter;
+
+   public ResourceAdapterImpl(String adapter)
+   {
+      this.adapter = adapter;
+   }
+
+   public String value() { return adapter; }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return ResourceAdapter.class;
+   }
+
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RunAsPrincipalImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/security/RunAsPrincipalImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RunAsPrincipalImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RunAsPrincipalImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,52 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.security;
+
+/**
+ * // *
+ * 
+ * @author <a href="mailto:bill at jboss.org">William DeCoste</a>
+ * @version $Revision$
+ */
+public class RunAsPrincipalImpl implements RunAsPrincipal
+{
+   private String value;
+   public RunAsPrincipalImpl(String value)
+   {
+      this.value = value;
+   }
+   
+   public String value()
+   {
+      return value;
+   }
+
+   public Class<RunAsPrincipal> annotationType()
+   {
+      return RunAsPrincipal.class;
+   }
+   
+   public String toString()
+   {
+      return annotationType().getName() + " value=" + value;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/SecurityDomainImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/security/SecurityDomainImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/SecurityDomainImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/SecurityDomainImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,78 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.security;
+
+import java.lang.annotation.Annotation;
+
+import org.jboss.annotation.security.SecurityDomain;
+
+/**
+ * // *
+ * 
+ * @author <a href="mailto:bill at jboss.org">William DeCoste</a>
+ * @version $Revision$
+ */
+public class SecurityDomainImpl implements SecurityDomain
+{
+   private String value;
+   private String unauthenticatedPrincipal = null;
+   
+   public SecurityDomainImpl()
+   {
+      this("");
+   }
+   
+   public SecurityDomainImpl(String value)
+   {
+      this.value = value;
+   }
+   
+   public String value()
+   {
+      return value;
+   }
+   
+   public String unauthenticatedPrincipal()
+   {
+      return unauthenticatedPrincipal;
+   }
+   
+   public void setUnauthenticatedPrincipal(String unauthenticatedPrincipal)
+   {
+      this.unauthenticatedPrincipal = unauthenticatedPrincipal;
+   }
+
+   public Class<SecurityDomain> annotationType()
+   {
+      return SecurityDomain.class;
+   }
+   
+   public String toString()
+   {
+      StringBuffer sb = new StringBuffer(100);
+      sb.append("SecurityDomainImpl[");
+      sb.append("value=").append(value);
+      sb.append(", unauthenticatedPrincipal=").append(unauthenticatedPrincipal);
+      sb.append("]");
+      return sb.toString();
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/SerializedConcurrentAccessImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/SerializedConcurrentAccessImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/SerializedConcurrentAccessImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/SerializedConcurrentAccessImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+
+
+/**
+ * @version <tt>$Revision$</tt>
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+public class SerializedConcurrentAccessImpl implements SerializedConcurrentAccess
+{
+   public SerializedConcurrentAccessImpl()
+   {
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return SerializedConcurrentAccess.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ServiceImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/ServiceImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ServiceImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ServiceImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,85 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+
+
+/**
+ * @version <tt>$Revision$</tt>
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+public class ServiceImpl implements Service
+{
+   private String objectName = "";
+   private String name = "";
+   private String xmbean = "";
+   
+   public ServiceImpl(Service service)
+   {
+      if (service != null)
+      {
+         objectName = service.objectName();
+         name = service.name();
+      }
+   }
+
+   public ServiceImpl(String objectName)
+   {
+      this.objectName = objectName;
+   }
+   
+   public void setObjectName(String objectName)
+   {
+         this.objectName = objectName;
+   }
+   
+   public void setName(String name)
+   {
+      this.name = name;
+   }
+   
+   public String objectName()
+   {
+      return objectName;
+   }
+
+   public String name()
+   {
+      return name;
+   }
+   
+   public void setXMBean(String xmbean)
+   {
+      this.xmbean = xmbean;
+   }
+   
+   public String xmbean()
+   {
+      return xmbean;
+   }
+   
+   public Class<? extends Annotation> annotationType()
+   {
+      return Service.class;
+   }
+}

Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/TransactionTimeoutImpl.java (from rev 67572, trunk/ejb3/src/main/org/jboss/annotation/ejb/TransactionTimeoutImpl.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/TransactionTimeoutImpl.java	                        (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/TransactionTimeoutImpl.java	2007-12-03 17:54:56 UTC (rev 67788)
@@ -0,0 +1,61 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.annotation.ejb;
+
+import java.lang.annotation.Annotation;
+import java.util.ArrayList;
+
+import org.jboss.annotation.ejb.RemoteBinding;
+
+/**
+ * @version <tt>$Revision$</tt>
+ * @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
+ */
+public class TransactionTimeoutImpl implements TransactionTimeout
+{
+   private int value = 0;
+   
+   public TransactionTimeoutImpl()
+   {
+      
+   }
+
+   public TransactionTimeoutImpl(int value)
+   {
+      this.value = value;
+   }
+   
+   public void setValue(int value)
+   {
+      this.value = value;
+   }
+   
+   public int value()
+   {
+      return value;
+   }
+
+   public Class<? extends Annotation> annotationType()
+   {
+      return TransactionTimeout.class;
+   }
+}




More information about the jboss-cvs-commits mailing list