@Singleton
public class DummySentenceManager implements SentenceManager {
binds to
[java:global/appname/mypkg.DummySentenceManager, java:global/appname/mypkg.DummySentenceManager!mypkg.SentenceManager]
I would like it to bind to:
[java:global/appname/mypkg.SentenceManager]
without resorting to:
@Singleton(name="mypkg.SentenceManager")
public class DummySentenceManager implements SentenceManager {
Thanks!