public class ExtrasUtilities extends Object
| Constructor and Description |
|---|
ExtrasUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static void |
enableDefaultInterceptorServiceImplementation(ServiceLocator locator)
This method adds in a default implementation of the
InterceptionService
which uses annotations to denote which services should intercept other services. |
public static void enableDefaultInterceptorServiceImplementation(ServiceLocator locator)
InterceptionService
which uses annotations to denote which services should intercept other services. For more
information see the org.glassfish.hk2.extras.interception package. This method is
idempotent, if the service is already available it will not add itlocator - The locator to add the default interception service implementation to. May not be nullCopyright © 2009-2014 Oracle Corporation. All Rights Reserved.