@ApplicationScoped public class CdiExternalRequestScope extends Object implements ExternalRequestScope<Object>
| Modifier and Type | Field and Description |
|---|---|
static ThreadLocal<org.glassfish.hk2.api.ServiceLocator> |
actualServiceLocator |
| Constructor and Description |
|---|
CdiExternalRequestScope() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ExternalRequestContext<Object> |
open(org.glassfish.hk2.api.ServiceLocator serviceLocator) |
void |
resume(ExternalRequestContext<Object> ctx,
org.glassfish.hk2.api.ServiceLocator serviceLocator) |
void |
suspend(ExternalRequestContext<Object> ctx,
org.glassfish.hk2.api.ServiceLocator serviceLocator) |
public static final ThreadLocal<org.glassfish.hk2.api.ServiceLocator> actualServiceLocator
public ExternalRequestContext<Object> open(org.glassfish.hk2.api.ServiceLocator serviceLocator)
open in interface ExternalRequestScope<Object>public void resume(ExternalRequestContext<Object> ctx, org.glassfish.hk2.api.ServiceLocator serviceLocator)
resume in interface ExternalRequestScope<Object>public void suspend(ExternalRequestContext<Object> ctx, org.glassfish.hk2.api.ServiceLocator serviceLocator)
suspend in interface ExternalRequestScope<Object>public void close()
close in interface AutoCloseableclose in interface ExternalRequestScope<Object>Copyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.