Package org.glassfish.config.support
Interface CrudResolver
-
- All Known Implementing Classes:
CrudResolver.DefaultResolver,DomainExtensionResolver,SecureAdminPrincipal.Resolver,TargetAndNameBasedResolver,TargetBasedResolver,TypeAndNameResolver,TypeResolver
@Contract public interface CrudResolverA 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCrudResolver.DefaultResolver
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends org.jvnet.hk2.config.ConfigBeanProxy>
Tresolve(org.glassfish.api.admin.AdminCommandContext context, Class<T> type)Retrieves the existing configuration object a command invocation is intented to mutate.
-
-
-
Method Detail
-
resolve
<T extends org.jvnet.hk2.config.ConfigBeanProxy> T resolve(org.glassfish.api.admin.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
-
-