Singleton scope from java to annotations