@Singleton
public class DummySentenceManager implements SentenceManager {
绑定到
[java:global/appname/mypkg.DummySentenceManager, java:global/appname/mypkg.DummySentenceManager!mypkg.SentenceManager]
我希望它绑定到:
[java:global/appname/mypkg.SentenceManager]
不诉诸于:
@Singleton(name="mypkg.SentenceManager")
public class DummySentenceManager implements SentenceManager {
谢谢!