You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by ra...@apache.org on 2014/08/18 22:58:35 UTC

svn commit: r1618730 - /deltaspike/site/trunk/content/core.mdtext

Author: rafabene
Date: Mon Aug 18 20:58:35 2014
New Revision: 1618730

URL: http://svn.apache.org/r1618730
Log:
DELTASPIKE-640 - give some hints how to implement custom scopes

Modified:
    deltaspike/site/trunk/content/core.mdtext

Modified: deltaspike/site/trunk/content/core.mdtext
URL: http://svn.apache.org/viewvc/deltaspike/site/trunk/content/core.mdtext?rev=1618730&r1=1618729&r2=1618730&view=diff
==============================================================================
--- deltaspike/site/trunk/content/core.mdtext (original)
+++ deltaspike/site/trunk/content/core.mdtext Mon Aug 18 20:58:35 2014
@@ -818,7 +818,7 @@ DeltaSpike Core provides the API and SPI
 
 If you want to create a custom CDI scope to match your needs, you will need to follow these steps:
 
-1. First, create an Annotation with annotated with @javax.inject.Scope; Example:
+First, create an Annotation with annotated with @javax.inject.Scope; Example:
 
       :::java
       @Scope
@@ -826,7 +826,7 @@ If you want to create a custom CDI scope
       @Target({ElementType.TYPE,ElementType.METHOD,ElementType.FIELD})
       public @interface ACustomScope {}
     
-2. Second, create an Extension to add the scope and a context for it. Example:
+Second, create an Extension to add the scope and a context for it. Example:
 
       :::java    
       public class ACustomScopeExtension implements Extension, Serializable {
@@ -840,7 +840,7 @@ If you want to create a custom CDI scope
       	}
       }
 
-3. Implement a javax.enterprise.context.spi.Context interface to hold the javax.enterprise.inject.spi.Bean instances according to your needs
+Implement a javax.enterprise.context.spi.Context interface to hold the javax.enterprise.inject.spi.Bean instances according to your needs
 
       :::java
       public class ACustomScopeContext implements Context, Serializable {