org.jboss.guice.plugins
Class GuiceAnnotationMarkerBindFilter

java.lang.Object
  extended by org.jboss.guice.plugins.GuiceAnnotationMarkerBindFilter
All Implemented Interfaces:
ControllerContextBindFilter

public abstract class GuiceAnnotationMarkerBindFilter
extends Object
implements ControllerContextBindFilter

Bind only context's which have @Guice annotation present.

Author:
Ales Justin

Constructor Summary
GuiceAnnotationMarkerBindFilter()
           
 
Method Summary
 boolean bind(ControllerContext context)
          Should we bind param context to Guice.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuiceAnnotationMarkerBindFilter

public GuiceAnnotationMarkerBindFilter()
Method Detail

bind

public boolean bind(ControllerContext context)
Description copied from interface: ControllerContextBindFilter
Should we bind param context to Guice.

Specified by:
bind in interface ControllerContextBindFilter
Parameters:
context - the context to check
Returns:
true if we should bind context, false otherwise


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.