tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luther Baker" <lutherba...@gmail.com>
Subject modules
Date Fri, 05 Dec 2008 01:01:20 GMT
I've create a simple Module class that has a static bind method. I've placed
the class in the *.services package.

package my.app.services;

public class MyAppModule
{
  public static void bind(ServiceBinder binder)
  {
  binder.bind(ProjectManager.class, SimpleProjectManager.class);
  }
}

In a different Java class, I have

@Inject

private ProjectManager projectManager;

But, when startup always complains ClassNotFound. Are there some explicit
IoC configuration (files, classnames, etc) directions? I'm not sure what
HiveMind is looking for ... Is it something anything in the 'services'
package? or something name based? Links?

Thanks,

-Luther

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message