org.glassfish.config.support
Interface CrudResolver
- All Known Implementing Classes:
- CrudResolver.DefaultResolver, SecureAdminPrincipal.Resolver, TargetAndNameBasedResolver, TargetBasedResolver, TypeAndNameResolver, TypeResolver
@Contract
public interface CrudResolver
A config resolver is responsible for finding the target object of a specified
type on which a creation command invocation will be processed.
Implementation of these interfaces can be injected with the command invocation
parameters in order to determine which object should be returned
- Author:
- Jerome Dochez
|
Method Summary |
<T extends org.jvnet.hk2.config.ConfigBeanProxy>
T |
|
resolve(AdminCommandContext context,
Class<T> type)
Retrieves the existing configuration object a command invocation is intented to mutate. |
resolve
<T extends org.jvnet.hk2.config.ConfigBeanProxy> T resolve(AdminCommandContext context,
Class<T> type)
- Retrieves the existing configuration object a command invocation is intented to mutate.
- Parameters:
context - the command invocation contexttype - the type of the expected instance
- Returns:
- the instance or null if not found
Copyright © 2012 GlassFish Community. All Rights Reserved.