Modifier and Type | Class and Description |
---|---|
private static class |
ShopFactory.ShopProxy
It wraps a RuntimeException to delay the throwing outside the injector's provider reach
|
Modifier and Type | Field and Description |
---|---|
private ShopService |
service |
private org.glassfish.hk2.api.ServiceLocator |
serviceLocator |
Constructor and Description |
---|
ShopFactory(ShopService service,
org.glassfish.hk2.api.ServiceLocator locatorProvider) |
private final ShopService service
private final org.glassfish.hk2.api.ServiceLocator serviceLocator
@Inject public ShopFactory(ShopService service, org.glassfish.hk2.api.ServiceLocator locatorProvider)