|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.AbstractModule
com.google.sitebricks.SitebricksModule
public class SitebricksModule
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.google.sitebricks.PageBinder |
|---|
PageBinder.ActionBinder, PageBinder.EmbedAsBinder, PageBinder.LocalizationBinder, PageBinder.NegotiateWithBinder, PageBinder.PerformBinder, PageBinder.ShowBinder |
| Constructor Summary | |
|---|---|
SitebricksModule()
|
|
| Method Summary | |
|---|---|
PageBinder.ShowBinder |
at(String uri)
|
void |
bindMethod(String method,
Class<? extends Annotation> annotation)
|
protected void |
configure()
|
protected void |
configureSitebricks()
|
void |
converter(Class<? extends Converter<?,?>> clazz)
|
void |
converter(Converter<?,?> converter)
|
PageBinder.EmbedAsBinder |
embed(Class<?> clazz)
|
protected void |
enableServletSupport(boolean bindServlets)
|
PageBinder.LocalizationBinder |
localize(Class<?> iface)
|
PageBinder.NegotiateWithBinder |
negotiate(String header)
|
protected void |
scan(Package pack)
|
protected SitebricksServletModule |
servletModule()
Optionally supply Servlet and/or Filter implementations to
Guice Servlet. |
| Methods inherited from class com.google.inject.AbstractModule |
|---|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SitebricksModule()
| Method Detail |
|---|
protected void enableServletSupport(boolean bindServlets)
protected final void configure()
configure in class com.google.inject.AbstractModuleprotected SitebricksServletModule servletModule()
Servlet and/or Filter implementations to
Guice Servlet. See SitebricksServletModule for usage examples.
SitebricksServletModule. Implementing classes
must return a non-null value.SitebricksServletModuleprotected void configureSitebricks()
public final PageBinder.ShowBinder at(String uri)
at in interface PageBinderpublic final PageBinder.EmbedAsBinder embed(Class<?> clazz)
embed in interface PageBinder
public final void bindMethod(String method,
Class<? extends Annotation> annotation)
bindMethod in interface PageBinderpublic PageBinder.NegotiateWithBinder negotiate(String header)
negotiate in interface PageBinderpublic PageBinder.LocalizationBinder localize(Class<?> iface)
localize in interface PageBinderprotected final void scan(Package pack)
public final void converter(Converter<?,?> converter)
public final void converter(Class<? extends Converter<?,?>> clazz)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||