Weld SVN: r4371 - api/trunk/cdi/src/main/java/javax/enterprise/context.
by weld-commits@lists.jboss.org
Author: gavin.king(a)jboss.com
Date: 2009-10-28 23:32:40 -0400 (Wed, 28 Oct 2009)
New Revision: 4371
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/context/Conversation.java
Log:
ups
Modified: api/trunk/cdi/src/main/java/javax/enterprise/context/Conversation.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/context/Conversation.java 2009-10-29 03:24:52 UTC (rev 4370)
+++ api/trunk/cdi/src/main/java/javax/enterprise/context/Conversation.java 2009-10-29 03:32:40 UTC (rev 4371)
@@ -94,6 +94,9 @@
public void setTimeout(long milliseconds);
/**
+ * <p>Determine if the conversation is marked transient or
+ * long-running.</p>
+ *
* @return <tt>true</tt> if the conversation is marked transient,
* or <tt>false</tt>if it is marked long-running.
*/
15 years, 2 months
Weld SVN: r4370 - core/trunk/impl/src/main/java/org/jboss/weld/injection.
by weld-commits@lists.jboss.org
Author: marius.bogoevici
Date: 2009-10-28 23:24:52 -0400 (Wed, 28 Oct 2009)
New Revision: 4370
Modified:
core/trunk/impl/src/main/java/org/jboss/weld/injection/FieldInjectionPoint.java
Log:
one field went amiss
Modified: core/trunk/impl/src/main/java/org/jboss/weld/injection/FieldInjectionPoint.java
===================================================================
--- core/trunk/impl/src/main/java/org/jboss/weld/injection/FieldInjectionPoint.java 2009-10-29 03:23:25 UTC (rev 4369)
+++ core/trunk/impl/src/main/java/org/jboss/weld/injection/FieldInjectionPoint.java 2009-10-29 03:24:52 UTC (rev 4370)
@@ -30,6 +30,7 @@
import javax.enterprise.inject.spi.Bean;
import javax.enterprise.inject.spi.Decorator;
+import org.jboss.interceptor.util.InterceptionUtils;
import org.jboss.weld.BeanManagerImpl;
import org.jboss.weld.introspector.ForwardingWeldField;
import org.jboss.weld.introspector.WeldField;
@@ -75,7 +76,13 @@
{
try
{
- delegate().set(declaringInstance, manager.getInjectableReference(this, creationalContext));
+ Object instanceToInject = declaringInstance;
+ if (!isDelegate())
+ {
+ // if declaringInstance is a proxy, unwrap it
+ instanceToInject = InterceptionUtils.getRawInstance(declaringInstance);
+ }
+ delegate().set(instanceToInject, manager.getInjectableReference(this, creationalContext));
}
catch (IllegalArgumentException e)
{
15 years, 2 months
Weld SVN: r4369 - in core/trunk/impl/src/main/java/org/jboss/weld/bean: proxy and 1 other directory.
by weld-commits@lists.jboss.org
Author: marius.bogoevici
Date: 2009-10-28 23:23:25 -0400 (Wed, 28 Oct 2009)
New Revision: 4369
Modified:
core/trunk/impl/src/main/java/org/jboss/weld/bean/AbstractClassBean.java
core/trunk/impl/src/main/java/org/jboss/weld/bean/ProducerField.java
core/trunk/impl/src/main/java/org/jboss/weld/bean/proxy/DecoratorProxyMethodHandler.java
Log:
Fix field injection and producer fields when instance is decorated/intercepted.
Modified: core/trunk/impl/src/main/java/org/jboss/weld/bean/AbstractClassBean.java
===================================================================
--- core/trunk/impl/src/main/java/org/jboss/weld/bean/AbstractClassBean.java 2009-10-29 03:18:39 UTC (rev 4368)
+++ core/trunk/impl/src/main/java/org/jboss/weld/bean/AbstractClassBean.java 2009-10-29 03:23:25 UTC (rev 4369)
@@ -43,6 +43,7 @@
import org.jboss.interceptor.model.InterceptionModel;
import org.jboss.interceptor.model.InterceptorClassMetadataImpl;
import org.jboss.interceptor.util.InterceptionUtils;
+import org.jboss.interceptor.util.proxy.TargetInstanceProxy;
import org.jboss.weld.BeanManagerImpl;
import org.jboss.weld.DefinitionException;
import org.jboss.weld.DeploymentException;
@@ -158,6 +159,7 @@
if (hasDecorators())
{
Set<Type> types = new LinkedHashSet<Type>(getTypes());
+ types.add(TargetInstanceProxy.class);
ProxyFactory proxyFactory = Proxies.getProxyFactory(types);
@SuppressWarnings("unchecked")
Modified: core/trunk/impl/src/main/java/org/jboss/weld/bean/ProducerField.java
===================================================================
--- core/trunk/impl/src/main/java/org/jboss/weld/bean/ProducerField.java 2009-10-29 03:18:39 UTC (rev 4368)
+++ core/trunk/impl/src/main/java/org/jboss/weld/bean/ProducerField.java 2009-10-29 03:23:25 UTC (rev 4369)
@@ -25,6 +25,7 @@
import javax.enterprise.inject.spi.InjectionPoint;
import javax.enterprise.inject.spi.Producer;
+import org.jboss.interceptor.util.InterceptionUtils;
import org.jboss.weld.BeanManagerImpl;
import org.jboss.weld.bootstrap.BeanDeployerEnvironment;
import org.jboss.weld.introspector.WeldField;
@@ -94,7 +95,8 @@
public T produce(CreationalContext<T> creationalContext)
{
- return field.get(getReceiver(creationalContext));
+ // unwrap if we have a proxy
+ return field.get(InterceptionUtils.getRawInstance(getReceiver(creationalContext)));
}
});
Modified: core/trunk/impl/src/main/java/org/jboss/weld/bean/proxy/DecoratorProxyMethodHandler.java
===================================================================
--- core/trunk/impl/src/main/java/org/jboss/weld/bean/proxy/DecoratorProxyMethodHandler.java 2009-10-29 03:18:39 UTC (rev 4368)
+++ core/trunk/impl/src/main/java/org/jboss/weld/bean/proxy/DecoratorProxyMethodHandler.java 2009-10-29 03:23:25 UTC (rev 4369)
@@ -18,17 +18,15 @@
import static org.jboss.weld.util.Reflections.ensureAccessible;
-import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.List;
-import javassist.util.proxy.MethodHandler;
-
+import org.jboss.interceptor.util.proxy.TargetInstanceProxyMethodHandler;
import org.jboss.weld.bean.DecoratorImpl;
-import org.jboss.weld.serialization.spi.helpers.SerializableContextualInstance;
import org.jboss.weld.introspector.MethodSignature;
import org.jboss.weld.introspector.WeldMethod;
import org.jboss.weld.introspector.jlr.MethodSignatureImpl;
+import org.jboss.weld.serialization.spi.helpers.SerializableContextualInstance;
/**
* Method handler for decorated beans
@@ -36,13 +34,11 @@
* @author Pete Muir
*
*/
-public class DecoratorProxyMethodHandler implements MethodHandler, Serializable
+public class DecoratorProxyMethodHandler extends TargetInstanceProxyMethodHandler
{
private static final long serialVersionUID = 4577632640130385060L;
private final List<SerializableContextualInstance<DecoratorImpl<Object>, Object>> decoratorInstances;
-
- private final Object instance;
/**
* Constructor
@@ -53,8 +49,8 @@
*/
public DecoratorProxyMethodHandler(List<SerializableContextualInstance<DecoratorImpl<Object>, Object>> decoratorInstances, Object instance)
{
+ super (instance, instance.getClass());
this.decoratorInstances = decoratorInstances;
- this.instance = instance;
}
/**
@@ -74,7 +70,7 @@
*
* @throws Throwable if the method invocation fails.
*/
- public Object invoke(Object self, Method method, Method proceed, Object[] args) throws Throwable
+ protected Object doInvoke(Object self, Method method, Method proceed, Object[] args) throws Throwable
{
MethodSignature methodSignature = new MethodSignatureImpl(method);
for (SerializableContextualInstance<DecoratorImpl<Object>, Object> beanInstance : decoratorInstances)
@@ -86,7 +82,6 @@
}
}
- return ensureAccessible(method).invoke(instance, args);
+ return ensureAccessible(method).invoke(getTargetInstance(), args);
}
-
}
15 years, 2 months
Weld SVN: r4368 - core/trunk/bom.
by weld-commits@lists.jboss.org
Author: marius.bogoevici
Date: 2009-10-28 23:18:39 -0400 (Wed, 28 Oct 2009)
New Revision: 4368
Modified:
core/trunk/bom/pom.xml
Log:
use interceptors SNAPSHOT
Modified: core/trunk/bom/pom.xml
===================================================================
--- core/trunk/bom/pom.xml 2009-10-29 02:15:21 UTC (rev 4367)
+++ core/trunk/bom/pom.xml 2009-10-29 03:18:39 UTC (rev 4368)
@@ -76,7 +76,7 @@
<javassist.version>3.11.0.GA</javassist.version>
<cdi.tck.version>1.0.0-SNAPSHOT</cdi.tck.version>
<atinject.tck.version>1.0.0-PFD-3</atinject.tck.version>
- <jboss.interceptor.version>1.0.0-CR4</jboss.interceptor.version>
+ <jboss.interceptor.version>1.0.0-SNAPSHOT</jboss.interceptor.version>
<slf4j.version>1.5.8</slf4j.version>
</properties>
15 years, 2 months
Weld SVN: r4367 - api/trunk/cdi/src/main/java/javax/enterprise/inject.
by weld-commits@lists.jboss.org
Author: gavin.king(a)jboss.com
Date: 2009-10-28 22:15:21 -0400 (Wed, 28 Oct 2009)
New Revision: 4367
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/inject/AnnotationLiteral.java
api/trunk/cdi/src/main/java/javax/enterprise/inject/Nonbinding.java
api/trunk/cdi/src/main/java/javax/enterprise/inject/TypeLiteral.java
Log:
generalize the documentation
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/AnnotationLiteral.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/AnnotationLiteral.java 2009-10-29 01:52:15 UTC (rev 4366)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/AnnotationLiteral.java 2009-10-29 02:15:21 UTC (rev 4367)
@@ -41,9 +41,6 @@
* PayBy payby = new PayByQualifier() { public value() { return CHEQUE; } };
* </pre>
*
- * <p>Annotation values are often passed to APIs that perform typesafe
- * resolution.</p>
- *
* @author Pete Muir
* @author Gavin King
*
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/Nonbinding.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/Nonbinding.java 2009-10-29 01:52:15 UTC (rev 4366)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/Nonbinding.java 2009-10-29 02:15:21 UTC (rev 4367)
@@ -24,8 +24,11 @@
import java.lang.annotation.Target;
/**
- * <p>Excludes a member of a qualifier type or interceptor binding type
- * from consideration by the resolution algorithms.</p>
+ * <p>Excludes a member of an annotation type (such as a
+ * {@linkplain javax.inject.Qualifier qualifier type} or
+ * {@linkplain javax.interceptor interceptor binding type})
+ * from consideration when the container compares two
+ * annotation instances.</p>
*
* <pre>
* @Qualifier
@@ -37,11 +40,11 @@
* }
* </pre>
*
- * <p>Array-valued or annotation-valued members of a qualifier type should be
- * annotated <tt>@Nonbinding</tt> in a portable application.</p>
- *
* @author Gavin King
*
+ * @see javax.inject.Qualifier @Qualifier
+ * @see javax.interceptor.InterceptorBinding @InterceptorBinding
+ *
*/
@Retention(RUNTIME)
@Target(METHOD)
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/TypeLiteral.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/TypeLiteral.java 2009-10-29 01:52:15 UTC (rev 4366)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/TypeLiteral.java 2009-10-29 02:15:21 UTC (rev 4367)
@@ -26,14 +26,12 @@
* with actual type parameters.</p>
*
* <p>An object that represents any parameterized type may be obtained by
- * subclassing <tt>TypeLiteral</tt>.
+ * subclassing <tt>TypeLiteral</tt>.</p>
*
* <pre>
* TypeLiteral<List<String>> type = new TypeLiteral<List<String>>() {};
* </pre>
*
- * <p>This object may be passed to APIs that perform typesafe resolution.</p>
- *
* @author Gavin King
* @author Pete Muir
*
15 years, 2 months
Weld SVN: r4366 - api/trunk/cdi/src/main/java/javax/enterprise/inject.
by weld-commits@lists.jboss.org
Author: gavin.king(a)jboss.com
Date: 2009-10-28 21:52:15 -0400 (Wed, 28 Oct 2009)
New Revision: 4366
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/inject/package-info.java
Log:
links and examples
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/package-info.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/package-info.java 2009-10-28 23:14:16 UTC (rev 4365)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/package-info.java 2009-10-29 01:52:15 UTC (rev 4366)
@@ -124,8 +124,8 @@
* <h3>Bean EL name</h3>
*
* <p>A bean may have a bean EL name. A bean with an EL name may be referred
- * to by its name in Unified EL expressions. A valid bean EL name is a
- * period-separated list of valid EL identifiers.</p>
+ * to by its name in {@linkplain javax.el Unified EL} expressions. A valid
+ * bean EL name is a period-separated list of valid EL identifiers.</p>
*
* <p>To specify the EL name of a bean, the qualifier
* {@link javax.inject.Named @Named} is applied to the bean class or
@@ -220,7 +220,8 @@
* </ul>
*
* <p>All Java classes that meet these conditions are managed beans and thus no
- * special declaration is required to define a managed bean.</p>
+ * special declaration is required to define a managed bean. Optionally, a
+ * managed bean may be annotated {@link javax.annotation.ManagedBean}.</p>
*
* <p>If a managed bean has a public field, it must have scope
* {@link javax.enterprise.context.Dependent @Dependent}.</p>
@@ -230,18 +231,17 @@
*
* <h4>Session beans</h4>
*
- * <p>A session bean is a bean that is implemented by a session bean with an
- * EJB 3.x client view. The basic lifecycle and semantics of an EJB session bean
- * are defined by the EJB specification.</p>
+ * <p>The basic lifecycle and semantics of EJB session beans are defined by the
+ * EJB specification.</p>
*
* <ul>
- * <li>A stateless session bean must belong to the
+ * <li>A {@linkplain javax.ejb.Stateless stateless session bean} must belong to the
* {@link javax.enterprise.context.Dependent @Dependent} pseudo-scope.</li>
- * <li>A singleton bean must belong to either the
+ * <li>A {@linkplain javax.ejb.Singleton singleton bean} must belong to either the
* {@link javax.enterprise.context.ApplicationScoped @ApplicationScoped}
* scope or to the {@link javax.enterprise.context.Dependent @Dependent}
* pseudo-scope.</li>
- * <li>A stateful session bean may have any scope.</li>
+ * <li>A {@linkplain javax.ejb.Stateful stateful session bean} may have any scope.</li>
* </ul>
*
* <p>If the session bean class is a generic type, it must have scope
@@ -295,6 +295,31 @@
* resources, entity manager, entity manager factory, remote EJB instance or
* web service reference from the component environment.</p>
*
+ * <pre>
+ * @Produces @WebServiceRef(lookup="java:app/service/PaymentService")
+ * PaymentService paymentService;
+ * </pre>
+ *
+ * <pre>
+ * @Produces @EJB(ejbLink="../their.jar#PaymentService")
+ * PaymentService paymentService;
+ * </pre>
+ *
+ * <pre>
+ * @Produces @Resource(lookup="java:global/env/jdbc/CustomerDatasource")
+ * @CustomerDatabase Datasource customerDatabase;
+ * </pre>
+ *
+ * <pre>
+ * @Produces @PersistenceContext(unitName="CustomerDatabase")
+ * @CustomerDatabase EntityManager customerDatabasePersistenceContext;
+ * </pre>
+ *
+ * <pre>
+ * @Produces @PersistenceUnit(unitName="CustomerDatabase")
+ * @CustomerDatabase EntityManagerFactory customerDatabasePersistenceUnit;
+ * </pre>
+ *
* <p>A resource may not have an EL name.</p>
*
* <h3>Enabled and disabled beans</h3>
15 years, 2 months
Weld SVN: r4365 - api/trunk/cdi/src/main/java/javax/enterprise/event.
by weld-commits@lists.jboss.org
Author: gavin.king(a)jboss.com
Date: 2009-10-28 19:14:16 -0400 (Wed, 28 Oct 2009)
New Revision: 4365
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/event/package-info.java
Log:
add a bit
Modified: api/trunk/cdi/src/main/java/javax/enterprise/event/package-info.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/event/package-info.java 2009-10-28 22:55:36 UTC (rev 4364)
+++ api/trunk/cdi/src/main/java/javax/enterprise/event/package-info.java 2009-10-28 23:14:16 UTC (rev 4365)
@@ -55,6 +55,13 @@
* <li>the observer method has all the event qualifiers of the event.</li>
* </ul>
*
+ * <p>If the observer method is a
+ * {@linkplain javax.enterprise.event.TransactionPhase transactional
+ * observer method} and there is a JTA transaction in progress when the
+ * event is fired, the observer method is notified during the appropriate
+ * transaction completion phase. Otherwise, the observer is notified when
+ * the event is fired.</p>
+ *
* <p>The order in which observer methods are called is not defined, and
* so portable applications should not rely upon the order in which
* observers are called.</p>
15 years, 2 months
Weld SVN: r4364 - api/trunk/cdi/src/main/java/javax/enterprise/inject/spi.
by weld-commits@lists.jboss.org
Author: gavin.king(a)jboss.com
Date: 2009-10-28 18:55:36 -0400 (Wed, 28 Oct 2009)
New Revision: 4364
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/BeanManager.java
api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Producer.java
Log:
update to latest spec
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/BeanManager.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/BeanManager.java 2009-10-28 22:49:47 UTC (rev 4363)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/BeanManager.java 2009-10-28 22:55:36 UTC (rev 4364)
@@ -105,10 +105,11 @@
public <T> CreationalContext<T> createCreationalContext(Contextual<T> contextual);
/**
- * Returns the set of beans which match the given required type and
- * qualifiers and are accessible to the class into which the BeanManager was
- * injected, according to the rules of typesafe resolution. Typesafe
- * resolution usually occurs at container deployment time.
+ * Returns the set of beans which have the given required type and qualifiers
+ * and are available for injection in the module or library containing the
+ * class into which the BeanManager was injected or the Java EE component from
+ * whose JNDI environment namespace the BeanManager was obtained, according to
+ * the rules of typesafe resolution.
*
* @param beanType the type of the beans to be resolved
* @param qualifiers the qualifiers used to restrict the matched beans. If no
@@ -125,9 +126,11 @@
public Set<Bean<?>> getBeans(Type beanType, Annotation... qualifiers);
/**
- * Returns the set of beans which match the given EL name and are accessible
- * to the class into which the BeanManager was injected, according to the
- * rules of EL name resolution.
+ * Returns the set of beans which have the given EL name and are available for
+ * injection in the module or library containing the class into which the
+ * BeanManager was injected or the Java EE component from whose JNDI environment
+ * namespace the BeanManager was obtained, according to the rules of EL name
+ * resolution.
*
* @param name the name used to restrict the beans matched
* @return the matched beans
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Producer.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Producer.java 2009-10-28 22:49:47 UTC (rev 4363)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/spi/Producer.java 2009-10-28 22:55:36 UTC (rev 4364)
@@ -40,7 +40,7 @@
* If the {@code Producer} represents a class, this will invoke the
* constructor annotated {@link javax.inject.Inject} if it exists, or the
* constructor with no parameters. If the class has interceptors, produce()
- * is responsible for building the interceptor and decorator stacks for the
+ * is responsible for building the interceptors and decorators of the
* instance.
* </p>
* <p>
15 years, 2 months
Weld SVN: r4363 - in api/trunk/cdi/src/main/java/javax/enterprise: inject and 1 other directory.
by weld-commits@lists.jboss.org
Author: gavin.king(a)jboss.com
Date: 2009-10-28 18:49:47 -0400 (Wed, 28 Oct 2009)
New Revision: 4363
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/event/Observes.java
api/trunk/cdi/src/main/java/javax/enterprise/inject/Disposes.java
Log:
not for interceptors/decorators
Modified: api/trunk/cdi/src/main/java/javax/enterprise/event/Observes.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/event/Observes.java 2009-10-28 22:36:28 UTC (rev 4362)
+++ api/trunk/cdi/src/main/java/javax/enterprise/event/Observes.java 2009-10-28 22:49:47 UTC (rev 4363)
@@ -32,11 +32,10 @@
* public void afterLogin(@Observes LoggedInEvent event) { ... }
* </pre>
*
- * <p>An observer method is a non-abstract
- * method of a managed bean class or session bean class. An observer method may
- * be either static or non-static. If the bean is a session bean, the observer
- * method must be either a business method of the EJB or a static method of the
- * bean class.</p>
+ * <p>An observer method is a non-abstract method of a managed bean class or
+ * session bean class. An observer method may be either static or non-static.
+ * If the bean is a session bean, the observer method must be either a business
+ * method of the EJB or a static method of the bean class.</p>
*
* <p>Each observer method must have exactly one event parameter, of the same
* type as the event type it observes. Event qualifiers may be declared
@@ -53,6 +52,9 @@
*
* <p>Observer methods are inherited by bean subclasses.</p>
*
+ * <p>Interceptors and decorators may not declare observer
+ * methods.</p>
+ *
* @author Gavin King
* @author Pete Muir
* @author David Allen
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/Disposes.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/Disposes.java 2009-10-28 22:36:28 UTC (rev 4362)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/Disposes.java 2009-10-28 22:49:47 UTC (rev 4363)
@@ -71,6 +71,9 @@
*
* <p>Disposer methods are not inherited by bean subclasses.</p>
*
+ * <p>Interceptors and decorators may not declare disposer
+ * methods.</p>
+ *
* @see javax.enterprise.inject.Produces @Produces
*
* @author Gavin King
15 years, 2 months
Weld SVN: r4362 - api/trunk/cdi/src/main/java/javax/enterprise/inject.
by weld-commits@lists.jboss.org
Author: gavin.king(a)jboss.com
Date: 2009-10-28 18:36:28 -0400 (Wed, 28 Oct 2009)
New Revision: 4362
Modified:
api/trunk/cdi/src/main/java/javax/enterprise/inject/package-info.java
Log:
ws
Modified: api/trunk/cdi/src/main/java/javax/enterprise/inject/package-info.java
===================================================================
--- api/trunk/cdi/src/main/java/javax/enterprise/inject/package-info.java 2009-10-28 22:34:41 UTC (rev 4361)
+++ api/trunk/cdi/src/main/java/javax/enterprise/inject/package-info.java 2009-10-28 22:36:28 UTC (rev 4362)
@@ -150,7 +150,8 @@
* <pre>
* @Transactional @Interceptor
* public class TransactionInterceptor {
- * @AroundInvoke public Object manageTransaction(InvocationContext ctx) { ... }
+ * @AroundInvoke
+ * public Object manageTransaction(InvocationContext ctx) { ... }
* }
* </pre>
*
15 years, 2 months