org.guiceyfruit.support
Interface HasScopeAnnotation

All Known Implementing Classes:
CloseableScope

public interface HasScopeAnnotation

There's no simple way to associate a Scope with an annotation which often leads Scoping to return null. This interface allows Scope implementations to expose its scope annotation

Version:
$Revision: 1.1 $

Method Summary
 java.lang.Class<? extends java.lang.annotation.Annotation> getScopeAnnotation()
          Returns the scope annotation associated with this object
 

Method Detail

getScopeAnnotation

java.lang.Class<? extends java.lang.annotation.Annotation> getScopeAnnotation()
Returns the scope annotation associated with this object



Copyright © 2011. All Rights Reserved.