Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.tectonica.guice;
 
 
 public class GuiceJsfModule extends AbstractModule
 {
 	protected void configure()
	{
		// add support for the @PostConstruct annotation for Guice-injected objects
		// if you choose to remove it, also modify GuiceJsfInjector.invokePostConstruct()
		bindListener(Matchers.any(), new PostConstructTypeListener(null));
	}

override to perform application-logic bindings, typically between interfaces and concrete implementations. For example:
 bind(MyIntf.class).to(MyImpl.class);
 </per>
 
	protected void doCustomBinds()
	{}
New to GrepCode? Check out our FAQ X