org.apache.camel.guice.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:

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

Method Detail

getScopeAnnotation

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



Apache Camel