[jboss-cvs] JBossAS SVN: r67795 - in projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3: annotation and 2 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Dec 3 14:01:43 EST 2007
Author: ALRubinger
Date: 2007-12-03 14:01:42 -0500 (Mon, 03 Dec 2007)
New Revision: 67795
Added:
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/util/Debugger.java
Removed:
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
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ClusteredImpl.java
Modified:
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/DefaultInterceptorMarker.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/AspectDomainImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/CacheConfigImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/CacheImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ConsumerImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/CurrentMessageImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/DefaultActivationSpecsImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/DefaultInterceptorMarkerImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/DependsImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/IgnoreDependencyImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/JndiBindingPolicyImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/LocalBindingImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/LocalHomeBindingImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/LocalImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ManagementImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/MessagePropertiesImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/PersistenceManagerImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/PoolImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ProducerImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ProducersImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/RemoteBindingImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/RemoteBindingsImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/RemoteHomeBindingImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ResourceAdapterImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/RunAsPrincipalImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/SecurityDomainImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/SerializedConcurrentAccessImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ServiceImpl.java
projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/TransactionTimeoutImpl.java
Log:
[EJBTHREE-1144] Restored project state with SVN History intact
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/AspectDomainImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/AspectDomainImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/AspectDomainImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,50 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CacheConfigImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CacheConfigImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CacheConfigImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,133 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CacheImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CacheImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CacheImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,52 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ClusteredImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ClusteredImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ClusteredImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,85 +0,0 @@
-/*
- * 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();
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ConsumerImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ConsumerImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ConsumerImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,87 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CurrentMessageImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CurrentMessageImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/CurrentMessageImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,45 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DefaultActivationSpecsImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DefaultActivationSpecsImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DefaultActivationSpecsImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,70 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DefaultInterceptorMarkerImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DefaultInterceptorMarkerImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DefaultInterceptorMarkerImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,39 +0,0 @@
-/*
- * 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;
- }
-
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DependsImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DependsImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/DependsImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,55 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ExcludeClassInterceptorsImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ExcludeClassInterceptorsImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ExcludeClassInterceptorsImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,41 +0,0 @@
-/*
- * 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;
- }
-
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ExcludeDefaultInterceptorsImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ExcludeDefaultInterceptorsImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ExcludeDefaultInterceptorsImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,41 +0,0 @@
-/*
- * 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;
- }
-
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/IgnoreDependencyImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/IgnoreDependencyImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/IgnoreDependencyImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,40 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/JndiBindingPolicyImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/JndiBindingPolicyImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/JndiBindingPolicyImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,58 +0,0 @@
-/*
- * 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;
- }
-
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalBindingImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalBindingImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalBindingImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,51 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalHomeBindingImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalHomeBindingImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalHomeBindingImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,49 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalHomeImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalHomeImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalHomeImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,50 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/LocalImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,44 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ManagementImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ManagementImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ManagementImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,56 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/MessagePropertiesImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/MessagePropertiesImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/MessagePropertiesImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,101 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/PersistenceManagerImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/PersistenceManagerImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/PersistenceManagerImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,54 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/PoolImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/PoolImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/PoolImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,85 +0,0 @@
-/*
- * 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();
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteBindingImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteBindingImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteBindingImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,137 +0,0 @@
-/*
- * 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();
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteBindingsImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteBindingsImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteBindingsImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,58 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteHomeBindingImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteHomeBindingImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteHomeBindingImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,74 +0,0 @@
-/*
- * 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();
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteHomeImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteHomeImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RemoteHomeImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,50 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ResourceAdapterImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ResourceAdapterImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ResourceAdapterImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,48 +0,0 @@
-/*
- * 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;
- }
-
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RunAsPrincipalImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RunAsPrincipalImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/RunAsPrincipalImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,52 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/SecurityDomainImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/SecurityDomainImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/SecurityDomainImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,78 +0,0 @@
-/*
- * 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();
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/SerializedConcurrentAccessImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/SerializedConcurrentAccessImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/SerializedConcurrentAccessImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,41 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ServiceImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ServiceImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/ServiceImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,85 +0,0 @@
-/*
- * 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;
- }
-}
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/TransactionTimeoutImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/TransactionTimeoutImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/TransactionTimeoutImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,61 +0,0 @@
-/*
- * 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;
- }
-}
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/DefaultInterceptorMarker.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/DefaultInterceptorMarker.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/DefaultInterceptorMarker.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -18,8 +18,8 @@
* 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;
+*/
+package org.jboss.ejb3.annotation;
/**
* Annotation for internal use. We need an annotation to match for in ejb3-interceptors-aop.xml to trigger
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/AspectDomainImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/AspectDomainImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/AspectDomainImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -23,6 +23,8 @@
import java.lang.annotation.Annotation;
+import org.jboss.ejb3.annotation.AspectDomain;
+
/**
* Comment
*
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/CacheConfigImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/CacheConfigImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/CacheConfigImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -23,6 +23,8 @@
import java.lang.annotation.Annotation;
+import org.jboss.ejb3.annotation.CacheConfig;
+
/**
* Implementation of CacheConfig Annotation
*
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/CacheImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/CacheImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/CacheImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -23,7 +23,7 @@
import java.lang.annotation.Annotation;
-import org.jboss.ejb3.annotation.impl.cache.Ejb3CacheFactory;
+import org.jboss.ejb3.annotation.Cache;
/**
* Implementation of @Cache annotation
Deleted: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ClusteredImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ClusteredImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ClusteredImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -1,85 +0,0 @@
-/*
- * 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.ejb3.annotation.impl;
-
-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();
- }
-}
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ConsumerImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ConsumerImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ConsumerImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -22,13 +22,12 @@
package org.jboss.ejb3.annotation.impl;
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;
+import org.jboss.ejb3.annotation.Consumer;
/**
* @version <tt>$Revision$</tt>
@@ -37,8 +36,9 @@
public class ConsumerImpl implements Consumer
{
private String name = "";
+
private HashMap<String, ActivationConfigProperty> activationConfig = new HashMap<String, ActivationConfigProperty>();
-
+
public ConsumerImpl(Consumer consumer)
{
if (consumer != null)
@@ -53,28 +53,28 @@
}
}
}
-
+
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() ; )
+ for (Iterator<ActivationConfigProperty> it = activationConfig.values().iterator(); it.hasNext();)
{
- result[i++] = it.next();
+ result[i++] = it.next();
}
return result;
}
-
+
public void addActivationConfig(ActivationConfigProperty config)
{
activationConfig.put(config.propertyName(), config);
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/CurrentMessageImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/CurrentMessageImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/CurrentMessageImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -22,9 +22,8 @@
package org.jboss.ejb3.annotation.impl;
import java.lang.annotation.Annotation;
-import java.util.ArrayList;
-import org.jboss.annotation.ejb.RemoteBinding;
+import org.jboss.ejb3.annotation.CurrentMessage;
/**
* @version <tt>$Revision$</tt>
@@ -32,10 +31,10 @@
*/
public class CurrentMessageImpl implements CurrentMessage
{
-
+
public CurrentMessageImpl()
{
-
+
}
public Class<? extends Annotation> annotationType()
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/DefaultActivationSpecsImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/DefaultActivationSpecsImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/DefaultActivationSpecsImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -22,12 +22,12 @@
package org.jboss.ejb3.annotation.impl;
import java.lang.annotation.Annotation;
-import java.util.ArrayList;
import java.util.HashMap;
import javax.ejb.ActivationConfigProperty;
-import javax.ejb.MessageDriven;
+import org.jboss.ejb3.annotation.DefaultActivationSpecs;
+
/**
* @version <tt>$Revision$</tt>
* @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
@@ -35,25 +35,25 @@
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()))
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/DefaultInterceptorMarkerImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/DefaultInterceptorMarkerImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/DefaultInterceptorMarkerImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -18,11 +18,13 @@
* 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.ejb3.annotation.impl;
import java.lang.annotation.Annotation;
+import org.jboss.ejb3.annotation.DefaultInterceptorMarker;
+
/**
*
* @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
@@ -35,5 +37,5 @@
{
return DefaultInterceptorMarker.class;
}
-
+
}
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/DependsImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/DependsImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/DependsImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -24,6 +24,8 @@
import java.lang.annotation.Annotation;
import java.util.ArrayList;
+import org.jboss.ejb3.annotation.Depends;
+
/**
* @version <tt>$Revision$</tt>
* @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
@@ -31,18 +33,18 @@
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);
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/IgnoreDependencyImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/IgnoreDependencyImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/IgnoreDependencyImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -23,6 +23,8 @@
import java.lang.annotation.Annotation;
+import org.jboss.ejb3.annotation.IgnoreDependency;
+
/**
* @version <tt>$Revision$</tt>
* @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/JndiBindingPolicyImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/JndiBindingPolicyImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/JndiBindingPolicyImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -23,6 +23,7 @@
import java.lang.annotation.Annotation;
+import org.jboss.ejb3.annotation.JndiBindingPolicy;
import org.jboss.ejb3.jndipolicy.DefaultJndiBindingPolicy;
/**
@@ -33,21 +34,22 @@
*/
public class JndiBindingPolicyImpl implements JndiBindingPolicy
{
-
+
// Instance Members
private Class<? extends DefaultJndiBindingPolicy> policy;
-
+
// Contracts
-
- public Class<? extends DefaultJndiBindingPolicy> policy(){
+
+ public Class<? extends DefaultJndiBindingPolicy> policy()
+ {
return policy;
}
-
+
public void setPolicy(Class<? extends DefaultJndiBindingPolicy> policy)
{
this.policy = policy;
}
-
+
// Required Implementations
public Class<? extends Annotation> annotationType()
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/LocalBindingImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/LocalBindingImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/LocalBindingImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -22,8 +22,9 @@
package org.jboss.ejb3.annotation.impl;
import java.lang.annotation.Annotation;
-import org.jboss.annotation.ejb.LocalBinding;
+import org.jboss.ejb3.annotation.LocalBinding;
+
/**
* Comment
*
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/LocalHomeBindingImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/LocalHomeBindingImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/LocalHomeBindingImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -23,6 +23,8 @@
import java.lang.annotation.Annotation;
+import org.jboss.ejb3.annotation.LocalHomeBinding;
+
/**
* Comment
*
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/LocalImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/LocalImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/LocalImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -22,8 +22,9 @@
package org.jboss.ejb3.annotation.impl;
import java.lang.annotation.Annotation;
-import org.jboss.annotation.ejb.LocalBinding;
+import org.jboss.ejb3.annotation.Local;
+
/**
* Comment
*
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ManagementImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ManagementImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ManagementImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -22,9 +22,8 @@
package org.jboss.ejb3.annotation.impl;
import java.lang.annotation.Annotation;
-import java.util.ArrayList;
-import org.jboss.annotation.ejb.RemoteBinding;
+import org.jboss.ejb3.annotation.Management;
/**
* @version <tt>$Revision$</tt>
@@ -38,12 +37,12 @@
{
this.value = value;
}
-
+
public void setObjectName(Class value)
{
this.value = value;
}
-
+
public Class value()
{
return value;
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/MessagePropertiesImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/MessagePropertiesImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/MessagePropertiesImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -21,23 +21,27 @@
*/
package org.jboss.ejb3.annotation.impl;
+import java.io.Serializable;
import java.lang.annotation.Annotation;
-import java.io.Serializable;
-import org.jboss.annotation.ejb.DeliveryMode;
-import org.jboss.annotation.ejb.MessageProperties;
+import org.jboss.ejb3.annotation.DeliveryMode;
+import org.jboss.ejb3.annotation.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)
@@ -53,12 +57,12 @@
ttl = props.timeToLive();
priority = props.priority();
}
-
+
public void setDelivery(DeliveryMode mode)
{
this.deliveryMode = mode;
}
-
+
public void setPriority(int priority)
{
this.priority = priority;
@@ -83,12 +87,12 @@
{
return priority;
}
-
+
public Class getInterface()
{
return interfac;
}
-
+
public void setInterface(Class interfac)
{
this.interfac = interfac;
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/PersistenceManagerImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/PersistenceManagerImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/PersistenceManagerImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -23,7 +23,8 @@
import java.lang.annotation.Annotation;
-import org.jboss.ejb3.annotation.impl.cache.simple.StatefulSessionFilePersistenceManager;
+import org.jboss.ejb3.annotation.PersistenceManager;
+import org.jboss.ejb3.annotation.defaults.PersistenceManagerDefaults;
/**
* @version <tt>$Revision$</tt>
@@ -31,18 +32,18 @@
*/
public class PersistenceManagerImpl implements PersistenceManager
{
- private Class value = StatefulSessionFilePersistenceManager.class;
+ private String value = PersistenceManagerDefaults.PERSISTENCE_MANAGER_IMPLEMENTATION_STATEFUL_SESSION_FILE;
public PersistenceManagerImpl()
{
}
-
- public Class value()
+
+ public String value()
{
return value;
}
-
- public void setValue(Class value)
+
+ public void setValue(String value)
{
this.value = value;
}
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/PoolImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/PoolImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/PoolImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -23,6 +23,8 @@
import java.lang.annotation.Annotation;
+import org.jboss.ejb3.annotation.Pool;
+
/**
* @version <tt>$Revision$</tt>
* @author <a href="mailto:bdecoste at jboss.com">William DeCoste</a>
@@ -30,18 +32,20 @@
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;
@@ -51,7 +55,7 @@
{
return maxSize;
}
-
+
public void setMaxSize(int maxSize)
{
this.maxSize = maxSize;
@@ -61,7 +65,7 @@
{
return timeout;
}
-
+
public void setTimeout(long timeout)
{
this.timeout = timeout;
@@ -71,7 +75,7 @@
{
return Pool.class;
}
-
+
public String toString()
{
StringBuffer sb = new StringBuffer(100);
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ProducerImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ProducerImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ProducerImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -19,12 +19,11 @@
* 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.ejb3.mdb;
+package org.jboss.ejb3.annotation.impl;
import java.io.Serializable;
-import java.lang.annotation.Annotation;
-import org.jboss.annotation.ejb.Producer;
+import org.jboss.ejb3.annotation.Producer;
/**
* comment
*
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ProducersImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ProducersImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ProducersImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -19,15 +19,15 @@
* 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.ejb3.mdb;
+package org.jboss.ejb3.annotation.impl;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
-import java.lang.annotation.Annotation;
-import org.jboss.annotation.ejb.Producer;
-import org.jboss.annotation.ejb.Producers;
+import org.jboss.ejb3.annotation.Producer;
+import org.jboss.ejb3.annotation.Producers;
+
/**
* comment
*
@@ -36,25 +36,25 @@
public class ProducersImpl implements Producers, Serializable
{
private static final long serialVersionUID = 6593673540842223866L;
-
+
private List producers = new ArrayList();
-
+
public ProducersImpl()
{
}
-
+
public Producer[] value()
{
Producer[] result = new Producer[producers.size()];
producers.toArray(result);
return result;
}
-
+
public void addProducer(Producer producer)
{
producers.add(producer);
}
-
+
public Class annotationType()
{
return Producers.class;
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/RemoteBindingImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/RemoteBindingImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/RemoteBindingImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -23,8 +23,9 @@
import java.lang.annotation.Annotation;
-import org.jboss.ejb3.annotation.impl.defaults.RemoteBindingDefaults;
-import org.jboss.ejb3.annotation.impl.util.Debugger;
+import org.jboss.ejb3.annotation.RemoteBinding;
+import org.jboss.ejb3.annotation.defaults.RemoteBindingDefaults;
+import org.jboss.ejb3.util.Debugger;
/**
* Comment
@@ -35,19 +36,22 @@
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();
}
@@ -57,30 +61,30 @@
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;
@@ -100,28 +104,28 @@
{
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);
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/RemoteBindingsImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/RemoteBindingsImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/RemoteBindingsImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -23,9 +23,10 @@
import java.lang.annotation.Annotation;
import java.util.List;
-import org.jboss.annotation.ejb.RemoteBinding;
-import org.jboss.annotation.ejb.RemoteBindings;
+import org.jboss.ejb3.annotation.RemoteBinding;
+import org.jboss.ejb3.annotation.RemoteBindings;
+
/**
* Comment
*
@@ -43,7 +44,7 @@
public RemoteBindingsImpl(List bindings)
{
- this.bindings = (RemoteBinding[])bindings.toArray(new RemoteBinding[bindings.size()]);
+ this.bindings = (RemoteBinding[]) bindings.toArray(new RemoteBinding[bindings.size()]);
}
public RemoteBinding[] value()
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/RemoteHomeBindingImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/RemoteHomeBindingImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/RemoteHomeBindingImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -22,13 +22,9 @@
package org.jboss.ejb3.annotation.impl;
import java.lang.annotation.Annotation;
-import java.util.ArrayList;
-import javax.ejb.ActivationConfigProperty;
-import javax.ejb.MessageDriven;
+import org.jboss.ejb3.annotation.RemoteHomeBinding;
-import org.jboss.annotation.ejb.RemoteBinding;
-
/**
* Comment
*
@@ -37,22 +33,22 @@
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;
@@ -62,7 +58,7 @@
{
return RemoteHomeBinding.class;
}
-
+
public String toString()
{
StringBuffer sb = new StringBuffer(100);
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ResourceAdapterImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ResourceAdapterImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ResourceAdapterImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -23,6 +23,8 @@
import java.lang.annotation.Annotation;
+import org.jboss.ejb3.annotation.ResourceAdapter;
+
/**
* Comment
*
@@ -38,7 +40,10 @@
this.adapter = adapter;
}
- public String value() { return adapter; }
+ public String value()
+ {
+ return adapter;
+ }
public Class<? extends Annotation> annotationType()
{
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/RunAsPrincipalImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/RunAsPrincipalImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/RunAsPrincipalImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -21,6 +21,8 @@
*/
package org.jboss.ejb3.annotation.impl;
+import org.jboss.ejb3.annotation.RunAsPrincipal;
+
/**
* // *
*
@@ -30,11 +32,12 @@
public class RunAsPrincipalImpl implements RunAsPrincipal
{
private String value;
+
public RunAsPrincipalImpl(String value)
{
this.value = value;
}
-
+
public String value()
{
return value;
@@ -44,7 +47,7 @@
{
return RunAsPrincipal.class;
}
-
+
public String toString()
{
return annotationType().getName() + " value=" + value;
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/SecurityDomainImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/SecurityDomainImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/SecurityDomainImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -21,10 +21,8 @@
*/
package org.jboss.ejb3.annotation.impl;
-import java.lang.annotation.Annotation;
+import org.jboss.ejb3.annotation.SecurityDomain;
-import org.jboss.annotation.security.SecurityDomain;
-
/**
* // *
*
@@ -34,28 +32,29 @@
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;
@@ -65,7 +64,7 @@
{
return SecurityDomain.class;
}
-
+
public String toString()
{
StringBuffer sb = new StringBuffer(100);
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/SerializedConcurrentAccessImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/SerializedConcurrentAccessImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/SerializedConcurrentAccessImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -23,6 +23,7 @@
import java.lang.annotation.Annotation;
+import org.jboss.ejb3.annotation.SerializedConcurrentAccess;
/**
* @version <tt>$Revision$</tt>
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ServiceImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ServiceImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/ServiceImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -23,6 +23,7 @@
import java.lang.annotation.Annotation;
+import org.jboss.ejb3.annotation.Service;
/**
* @version <tt>$Revision$</tt>
@@ -31,9 +32,11 @@
public class ServiceImpl implements Service
{
private String objectName = "";
+
private String name = "";
+
private String xmbean = "";
-
+
public ServiceImpl(Service service)
{
if (service != null)
@@ -47,17 +50,17 @@
{
this.objectName = objectName;
}
-
+
public void setObjectName(String objectName)
{
- this.objectName = objectName;
+ this.objectName = objectName;
}
-
+
public void setName(String name)
{
this.name = name;
}
-
+
public String objectName()
{
return objectName;
@@ -67,17 +70,17 @@
{
return name;
}
-
+
public void setXMBean(String xmbean)
{
this.xmbean = xmbean;
}
-
+
public String xmbean()
{
return xmbean;
}
-
+
public Class<? extends Annotation> annotationType()
{
return Service.class;
Modified: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/TransactionTimeoutImpl.java
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/TransactionTimeoutImpl.java 2007-12-03 18:44:53 UTC (rev 67794)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/annotation/impl/TransactionTimeoutImpl.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -22,9 +22,8 @@
package org.jboss.ejb3.annotation.impl;
import java.lang.annotation.Annotation;
-import java.util.ArrayList;
-import org.jboss.annotation.ejb.RemoteBinding;
+import org.jboss.ejb3.annotation.TransactionTimeout;
/**
* @version <tt>$Revision$</tt>
@@ -33,22 +32,22 @@
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;
Copied: projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/util/Debugger.java (from rev 67572, trunk/ejb3/src/main/org/jboss/ejb3/util/Debugger.java)
===================================================================
--- projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/util/Debugger.java (rev 0)
+++ projects/ejb3/trunk/ejb3-impl/src/main/java/org/jboss/ejb3/util/Debugger.java 2007-12-03 19:01:42 UTC (rev 67795)
@@ -0,0 +1,36 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.ejb3.util;
+
+/**
+ * Comment
+ *
+ * @author <a href="mailto:carlo.dewolf at jboss.com">Carlo de Wolf</a>
+ * @version $Revision$
+ */
+public class Debugger
+{
+ public static StackTraceElement constructionPoint()
+ {
+ return new Exception().getStackTrace()[2];
+ }
+}
More information about the jboss-cvs-commits
mailing list