Modifier and Type | Class and Description |
---|---|
(package private) static class |
ShopProvider.ShopProxy
It wraps a RuntimeException to delay the throwing outside the injector's
provider reach
|
(package private) static class |
ShopProvider.StorenameProvider
Workaround: Shop is not visible in every module.
|
Modifier and Type | Field and Description |
---|---|
private javax.servlet.http.HttpServletRequest |
httpServletRequest |
private javax.ws.rs.core.UriInfo |
request |
private ShopDomainService |
service |
(package private) static java.lang.String |
SHOP_GUID |
(package private) static java.lang.String |
STORENAME |
Constructor and Description |
---|
ShopProvider(ShopDomainService service,
javax.ws.rs.core.UriInfo request,
javax.servlet.http.HttpServletRequest httpServletRequest) |
Modifier and Type | Method and Description |
---|---|
Shop |
get() |
protected void |
setPropertiesForAccessLog(Shop shop) |
static final java.lang.String SHOP_GUID
static final java.lang.String STORENAME
private final ShopDomainService service
private final javax.ws.rs.core.UriInfo request
private javax.servlet.http.HttpServletRequest httpServletRequest
@Inject public ShopProvider(ShopDomainService service, javax.ws.rs.core.UriInfo request, javax.servlet.http.HttpServletRequest httpServletRequest)