You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by 丁振波 <ze...@gmail.com> on 2009/03/06 09:44:59 UTC

Why t5 ioc module 'id' was removed?

In t5's former version, module has a id like hivemind does, using format 
like below

-----
package org.example.myapp.services;

import org.apache.tapestry.ioc.annotations.Id;

@Id("myapp")
public class MyAppModule
{
  public static Indexer buildIndexer()
   {
    return new IndexerImpl();
   }
}

Inject("service:myapp.Indexer")
private Indexer   indexer;

-----

Why the feature was removed? are there any reasons? 


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