Hi All,

I am probably not doing this right. 

In my AppModule.java I have the following code

   
binder.bind(IConfigurationManager.class,CConfigurationManager.class).withId("ConfigurationManager").eagerLoad();
 
binder.bind(IAdministrationManager.class,CAdministrationManager.class).withId("AdministrationManager").eagerLoad();
binder.bind(ILogManager.class,CLogManager.class).withId("LogManager").eagerLoad();
 
binder.bind(ITopicLogManager.class,CTopicLogManager.class).withId("TopicLogManager").eagerLoad();
 

In my CAdministrationManager.java file I have
public class CAdministrationManager implements IAdministrationManager {
...

    @Inject
    private IConfigurationManager configurationManager;

...
}

In my AdministrationManager code I call

String datasourceName   =
configurationManager.getStringParameter("System.Administration.DataSource","System");


I get a null pointer expression for configurationManager. The injection is
not happening. What more do I have to do?

Thanks



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/InjectService-problems-tp4266460p4266460.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to