tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard Lewis Ship" <hls...@gmail.com>
Subject Re: modules
Date Fri, 05 Dec 2008 02:40:08 GMT
It's not HiveMind, its Tapestry 5 IoC.

Yes, there's explicit configuration.
http://tapestry.apache.org/tapestry5/guide/conf.html

On Thu, Dec 4, 2008 at 5:01 PM, Luther Baker <lutherbaker@gmail.com> wrote:
> 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
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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


Mime
View raw message