geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1427581 - in /geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise: context/ inject/ inject/spi/ util/
Date Tue, 01 Jan 2013 22:38:18 GMT
Author: struberg
Date: Tue Jan  1 22:38:17 2013
New Revision: 1427581

URL: http://svn.apache.org/viewvc?rev=1427581&view=rev
Log:
GERONIMO-6182 get rid of tab indenting.

we use space only!

Modified:
    geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/context/ContextException.java
    geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/InjectionException.java
    geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/New.java
    geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/ResolutionException.java
    geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/Annotated.java
    geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedCallable.java
    geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedConstructor.java
    geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedField.java
    geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedMember.java
    geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedMethod.java
    geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedParameter.java
    geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedType.java
    geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/Bean.java
    geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/Producer.java
    geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/util/AnnotationLiteral.java

Modified: geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/context/ContextException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/context/ContextException.java?rev=1427581&r1=1427580&r2=1427581&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/context/ContextException.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/context/ContextException.java
Tue Jan  1 22:38:17 2013
@@ -20,27 +20,27 @@ package javax.enterprise.context;
 
 public class ContextException extends RuntimeException 
 {
-	private static final long serialVersionUID = -3599813072560026919L;
+    private static final long serialVersionUID = -3599813072560026919L;
 
-	public ContextException()
-	{
-		
-	}
-	
-	public ContextException(String message)
-	{
-		super(message);
-	}
-
-	public ContextException(String message, Throwable cause)
-	{
-		super(message, cause);
-	}
-
-	public ContextException(Throwable cause)
-	{
-		super(cause);
-	}
+    public ContextException()
+    {
+
+    }
+
+    public ContextException(String message)
+    {
+        super(message);
+    }
+
+    public ContextException(String message, Throwable cause)
+    {
+        super(message, cause);
+    }
+
+    public ContextException(Throwable cause)
+    {
+        super(cause);
+    }
 
 
 }

Modified: geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/InjectionException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/InjectionException.java?rev=1427581&r1=1427580&r2=1427581&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/InjectionException.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/InjectionException.java
Tue Jan  1 22:38:17 2013
@@ -25,9 +25,9 @@ package javax.enterprise.inject;
  */
 public class InjectionException extends RuntimeException
 {
-	private static final long serialVersionUID = -2132733164534544788L;
+    private static final long serialVersionUID = -2132733164534544788L;
 
-	public InjectionException()
+    public InjectionException()
     {
         
     }

Modified: geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/New.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/New.java?rev=1427581&r1=1427580&r2=1427581&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/New.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/New.java
Tue Jan  1 22:38:17 2013
@@ -41,5 +41,5 @@ public @interface New
      * This defaults to the type which is defined at the injection point.
      * @return the class of the bean which should be injected 
      */
-	Class<?> value() default New.class;
+    Class<?> value() default New.class;
 }

Modified: geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/ResolutionException.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/ResolutionException.java?rev=1427581&r1=1427580&r2=1427581&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/ResolutionException.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/ResolutionException.java
Tue Jan  1 22:38:17 2013
@@ -26,9 +26,9 @@ package javax.enterprise.inject;
 public class ResolutionException extends InjectionException
 {
 
-	private static final long serialVersionUID = -6280627846071966243L;
+    private static final long serialVersionUID = -6280627846071966243L;
 
-	public ResolutionException()
+    public ResolutionException()
     {
         
     }

Modified: geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/Annotated.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/Annotated.java?rev=1427581&r1=1427580&r2=1427581&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/Annotated.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/Annotated.java
Tue Jan  1 22:38:17 2013
@@ -29,44 +29,44 @@ import java.util.Set;
  */
 public interface Annotated 
 {
-	/**
-	 * Returns type of the element.
-	 * 
-	 * @return type of the element
-	 */
-	public Type getBaseType();
-	
-	/**
-	 * Returns set of type closures. Type closure means
-	 * that {@link Annotated#getBaseType()} is assignable.
-	 * 
-	 * @return set of type closures.
-	 */
-	public Set<Type> getTypeClosure();
-	
-	/**
-	 * Gets annotated element's annotation member if exist, null otherwise
-	 * 
-	 * @param <T> generic annotatation class type
-	 * @param annotationType class of the annotation
-	 * @return annotated element's annotation member if exist, null otherwise
-	 */
-	public <T extends Annotation> T getAnnotation(Class<T> annotationType);
-	
-	/**
-	 * Gets annotated member all annotations.
-	 * 
-	 * @return annotated member annotations
-	 */
-	public Set<Annotation> getAnnotations();
-	
-	/**
-	 * Returns true if annotated member has annotation for given annotation type,
-	 * false otherwise.
-	 * 
-	 * @param annotationType type of the annotation
-	 * @return true if annotated member has annotation for given annotation type
-	 */
-	public boolean isAnnotationPresent(Class<? extends Annotation> annotationType);
+    /**
+     * Returns type of the element.
+     *
+     * @return type of the element
+     */
+    public Type getBaseType();
 
-}
\ No newline at end of file
+    /**
+     * Returns set of type closures. Type closure means
+     * that {@link Annotated#getBaseType()} is assignable.
+     *
+     * @return set of type closures.
+     */
+    public Set<Type> getTypeClosure();
+
+    /**
+     * Gets annotated element's annotation member if exist, null otherwise
+     *
+     * @param <T> generic annotatation class type
+     * @param annotationType class of the annotation
+     * @return annotated element's annotation member if exist, null otherwise
+     */
+    public <T extends Annotation> T getAnnotation(Class<T> annotationType);
+
+    /**
+     * Gets annotated member all annotations.
+     *
+     * @return annotated member annotations
+     */
+    public Set<Annotation> getAnnotations();
+
+    /**
+     * Returns true if annotated member has annotation for given annotation type,
+     * false otherwise.
+     *
+     * @param annotationType type of the annotation
+     * @return true if annotated member has annotation for given annotation type
+     */
+    public boolean isAnnotationPresent(Class<? extends Annotation> annotationType);
+
+}

Modified: geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedCallable.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedCallable.java?rev=1427581&r1=1427580&r2=1427581&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedCallable.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedCallable.java
Tue Jan  1 22:38:17 2013
@@ -29,11 +29,11 @@ import java.util.List;
  */
 public interface AnnotatedCallable<X> extends AnnotatedMember<X> 
 {
-	/**
-	 * Returns callable list of parameter or empty if none.
-	 * 
-	 * @return list of parameters
-	 */
-	public List<AnnotatedParameter<X>> getParameters();
+    /**
+     * Returns callable list of parameter or empty if none.
+     *
+     * @return list of parameters
+     */
+    public List<AnnotatedParameter<X>> getParameters();
 
 }

Modified: geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedConstructor.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedConstructor.java?rev=1427581&r1=1427580&r2=1427581&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedConstructor.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedConstructor.java
Tue Jan  1 22:38:17 2013
@@ -29,8 +29,8 @@ import java.lang.reflect.Constructor;
  */
 public interface AnnotatedConstructor<X> extends AnnotatedCallable<X> 
 {
-	/**
-	 * {@inheritDoc}
-	 */
-	public Constructor<X> getJavaMember();
+    /**
+     * {@inheritDoc}
+     */
+    public Constructor<X> getJavaMember();
 }

Modified: geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedField.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedField.java?rev=1427581&r1=1427580&r2=1427581&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedField.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedField.java
Tue Jan  1 22:38:17 2013
@@ -29,8 +29,8 @@ import java.lang.reflect.Field;
  */
 public interface AnnotatedField<X> extends AnnotatedMember<X> 
 {
-	/**
-	 * {@inheritDoc}
-	 */
-	public Field getJavaMember();
+    /**
+     * {@inheritDoc}
+     */
+    public Field getJavaMember();
 }

Modified: geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedMember.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedMember.java?rev=1427581&r1=1427580&r2=1427581&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedMember.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedMember.java
Tue Jan  1 22:38:17 2013
@@ -39,26 +39,26 @@ import java.lang.reflect.Member;
  */
 public interface AnnotatedMember<X> extends Annotated 
 {
-	/**
-	 * Returns base java member.
-	 * 
-	 * @return java member
-	 */
-	public Member getJavaMember();
-	
-	/**
-	 * Returns true if member modifiers contain static keyword
-	 * false otherwise.
-	 * 
-	 * @return true if member modifiers contain static keyword
-	 */
-	public boolean isStatic();
-	
-	/**
-	 * Returns member's declaring type.
-	 * 
-	 * @return member's declaring type
-	 */
-	public AnnotatedType<X> getDeclaringType();
+    /**
+     * Returns base java member.
+     *
+     * @return java member
+     */
+    public Member getJavaMember();
 
-}
\ No newline at end of file
+    /**
+     * Returns true if member modifiers contain static keyword
+     * false otherwise.
+     *
+     * @return true if member modifiers contain static keyword
+     */
+    public boolean isStatic();
+
+    /**
+     * Returns member's declaring type.
+     *
+     * @return member's declaring type
+     */
+    public AnnotatedType<X> getDeclaringType();
+
+}

Modified: geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedMethod.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedMethod.java?rev=1427581&r1=1427580&r2=1427581&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedMethod.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedMethod.java
Tue Jan  1 22:38:17 2013
@@ -29,8 +29,8 @@ import java.lang.reflect.Method;
  */
 public interface AnnotatedMethod<X> extends AnnotatedCallable<X> 
 {
-	/**
-	 * {@inheritDoc}
-	 */
-	public Method getJavaMember();
+    /**
+     * {@inheritDoc}
+     */
+    public Method getJavaMember();
 }

Modified: geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedParameter.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedParameter.java?rev=1427581&r1=1427580&r2=1427581&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedParameter.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedParameter.java
Tue Jan  1 22:38:17 2013
@@ -27,18 +27,18 @@ package javax.enterprise.inject.spi;
  */
 public interface AnnotatedParameter<X> extends Annotated 
 {
-	/**
-	 * Returns parameter position.
-	 * 
-	 * @return parameter position
-	 */
-	public int getPosition();
+    /**
+     * Returns parameter position.
+     *
+     * @return parameter position
+     */
+    public int getPosition();
 
-	/**
-	 * Returns declaring callable member.
-	 * 
-	 * @return declaring callable member
-	 */
-	public AnnotatedCallable<X> getDeclaringCallable();
+    /**
+     * Returns declaring callable member.
+     *
+     * @return declaring callable member
+     */
+    public AnnotatedCallable<X> getDeclaringCallable();
 
-}
\ No newline at end of file
+}

Modified: geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedType.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedType.java?rev=1427581&r1=1427580&r2=1427581&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedType.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/AnnotatedType.java
Tue Jan  1 22:38:17 2013
@@ -27,31 +27,31 @@ import java.util.Set;
  */
 public interface AnnotatedType<X> extends Annotated
 {
-	/**
-	 * Returns class of bean.
-	 * 
-	 * @return class of bean
-	 */
-	public Class<X> getJavaClass();
-	
-	/**
-	 * Returns set of bean constructors.
-	 * 
-	 * @return set of constructors
-	 */
-	public Set<AnnotatedConstructor<X>> getConstructors();
-	
-	/**
-	 * Returns set of bean methods.
-	 * 
-	 * @return set of bean methods
-	 */
-	public Set<AnnotatedMethod<? super X>> getMethods();
-	
-	/**
-	 * Returns set of bean fields.
-	 * 
-	 * @return set of bean fields.
-	 */
-	public Set<AnnotatedField<? super X>> getFields();
+    /**
+     * Returns class of bean.
+     *
+     * @return class of bean
+     */
+    public Class<X> getJavaClass();
+
+    /**
+     * Returns set of bean constructors.
+     *
+     * @return set of constructors
+     */
+    public Set<AnnotatedConstructor<X>> getConstructors();
+
+    /**
+     * Returns set of bean methods.
+     *
+     * @return set of bean methods
+     */
+    public Set<AnnotatedMethod<? super X>> getMethods();
+
+    /**
+     * Returns set of bean fields.
+     *
+     * @return set of bean fields.
+     */
+    public Set<AnnotatedField<? super X>> getFields();
 }

Modified: geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/Bean.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/Bean.java?rev=1427581&r1=1427580&r2=1427581&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/Bean.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/Bean.java
Tue Jan  1 22:38:17 2013
@@ -34,7 +34,6 @@ import javax.enterprise.context.spi.Cont
  */
 public interface Bean<T> extends Contextual<T>
 {
-	
     /**
      * Returns api types of a bean.
      * 
@@ -105,4 +104,4 @@ public interface Bean<T> extends Context
      */
     public boolean isAlternative();
 
-}
\ No newline at end of file
+}

Modified: geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/Producer.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/Producer.java?rev=1427581&r1=1427580&r2=1427581&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/Producer.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/inject/spi/Producer.java
Tue Jan  1 22:38:17 2013
@@ -31,62 +31,62 @@ import javax.enterprise.context.spi.Crea
  */
 public interface Producer<T> 
 {
-	/**
-	 * Its result depends on bean type.
-	 * 
-	 * <p>
-	 * 
-	 * <ul>
-	 * 
-	 * 	<li><b>Bean Class</b> : It calls the constructor annotated with {@link
Initializer} if it 
-	 * exists, or the constructor with no parameters otherwise.</li>
-	 *  
-	 *  <li><b>Producer Method or Field</b> : Calls the producer method on,

-	 *  or accesses the producer field of, a contextual instance of the most 
-	 *  specialized bean that specializes the bean that declares the producer method</li>
-	 * 
-	 * </ul>
-	 * 
-	 * </p>
+    /**
+     * Its result depends on bean type.
+     *
+     * <p>
+     *
+     * <ul>
+     *
+     *     <li><b>Bean Class</b> : It calls the constructor annotated with
{@link Initializer} if it
+     * exists, or the constructor with no parameters otherwise.</li>
+     *
+     *  <li><b>Producer Method or Field</b> : Calls the producer method
on,
+     *  or accesses the producer field of, a contextual instance of the most
+     *  specialized bean that specializes the bean that declares the producer method</li>
+     *
+     * </ul>
+     *
+     * </p>
 
-	 * @param creationalContext creational context
-	 * 
-	 * @return an instance of bean
-	 */
-	public T produce(CreationalContext<T> creationalContext);
-	
-	/**
-	 * Its result depends on bean type.
-	 * <p>
-	 * <ul>
-	 * 	<li><b>Bean Class</b> : Does nothing.</li>
-	 *  <li><b>Producer Method</b> : Calls disposer method or any other cleanup.
-	 * </ul>
-	 * </p>
-	 * 
-	 * @param instance dispose istance
-	 */
-	public void dispose(T instance);
-	
-	/**
-	 * Its result depends on bean type.
-	 * 
-	 * <p>
-	 * 
-	 * <ul>
-	 * 	<li><b>Bean Class</b> : Returns the set of InjectionPoint objects
representing all injected fields, 
-	 * bean constructor parameters and initializer method parameters.</li>
-	 *
-	 *  <li><b>Producer Method</b> : Returns the set of InjectionPoint objects

-	 *  representing all parameters of the producer method.</li>
-	 *  
-	 * </ul>
-	 * 
-	 * </p>
-	 * 
-	 * @return set of injection points
-	 */
-	public Set<InjectionPoint> getInjectionPoints();
-	
-	
-}
\ No newline at end of file
+     * @param creationalContext creational context
+     *
+     * @return an instance of bean
+     */
+    public T produce(CreationalContext<T> creationalContext);
+
+    /**
+     * Its result depends on bean type.
+     * <p>
+     * <ul>
+     *     <li><b>Bean Class</b> : Does nothing.</li>
+     *  <li><b>Producer Method</b> : Calls disposer method or any other
cleanup.
+     * </ul>
+     * </p>
+     *
+     * @param instance dispose istance
+     */
+    public void dispose(T instance);
+
+    /**
+     * Its result depends on bean type.
+     *
+     * <p>
+     *
+     * <ul>
+     *     <li><b>Bean Class</b> : Returns the set of InjectionPoint objects
representing all injected fields,
+     * bean constructor parameters and initializer method parameters.</li>
+     *
+     *  <li><b>Producer Method</b> : Returns the set of InjectionPoint
objects
+     *  representing all parameters of the producer method.</li>
+     *
+     * </ul>
+     *
+     * </p>
+     *
+     * @return set of injection points
+     */
+    public Set<InjectionPoint> getInjectionPoints();
+
+
+}

Modified: geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/util/AnnotationLiteral.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/util/AnnotationLiteral.java?rev=1427581&r1=1427580&r2=1427581&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/util/AnnotationLiteral.java
(original)
+++ geronimo/specs/trunk/geronimo-jcdi_1.1_spec/src/main/java/javax/enterprise/util/AnnotationLiteral.java
Tue Jan  1 22:38:17 2013
@@ -221,7 +221,7 @@ public abstract class AnnotationLiteral<
         {
             if (!method.isAccessible())
             {
-            	AccessController.doPrivileged(new PrivilegedActionForAccessibleObject(method,
true));
+                AccessController.doPrivileged(new PrivilegedActionForAccessibleObject(method,
true));
             }
 
             return method.invoke(instance, EMPTY_OBJECT_ARRAY);



Mime
View raw message