org.jboss.guice.plugins
Class NameControllerContextBindFilter
java.lang.Object
org.jboss.guice.plugins.NameControllerContextBindFilter
- All Implemented Interfaces:
- ControllerContextBindFilter
public abstract class NameControllerContextBindFilter
- extends Object
- implements ControllerContextBindFilter
Name controller context bind filter.
- Author:
- Ales Justin
Method Summary |
boolean |
bind(ControllerContext context)
Should we bind param context to Guice. |
protected abstract boolean |
bind(Object name)
Should we bind param context
with param name to Guice. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameControllerContextBindFilter
public NameControllerContextBindFilter()
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
bind
protected abstract boolean bind(Object name)
- Should we bind param context
with param name to Guice.
- Parameters:
name
- the context's name
- Returns:
- true if we should bind context, false otherwise
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.