You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwebbeans.apache.org by ge...@apache.org on 2010/04/10 16:18:02 UTC
svn commit: r932729 -
/openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ContextsService.java
Author: gerdogdu
Date: Sat Apr 10 14:18:02 2010
New Revision: 932729
URL: http://svn.apache.org/viewvc?rev=932729&view=rev
Log:
Adding several methods to ContextsService
Modified:
openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ContextsService.java
Modified: openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ContextsService.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ContextsService.java?rev=932729&r1=932728&r2=932729&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ContextsService.java (original)
+++ openwebbeans/trunk/webbeans-spi/src/main/java/org/apache/webbeans/spi/ContextsService.java Sat Apr 10 14:18:02 2010
@@ -90,4 +90,21 @@ public interface ContextsService
*/
public void endContext(Class<? extends Annotation> scopeType, Object endParameters);
+ /**
+ * Activate the context with the given scope type. If
+ * given scope type is not supported, there is no action.
+ * Any exception thrown by the operation is catched and
+ * logged by the container.
+ * @param scopeType scope type
+ */
+ public void activateContext(Class<? extends Annotation> scopeType);
+
+ /**
+ * Deactivates the context with the given scope type. If
+ * given scope type is not supported, there is no action.
+ * Any exception thrown by the operation is catched and
+ * logged by the container.
+ * @param scopeType scope type
+ */
+ public void deActivateContext(Class<? extends Annotation> scopeType);
}