Interface CrudResolver

All Known Implementing Classes:
CrudResolver.DefaultResolver, DomainExtensionResolver, 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
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <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.
  • Method Details

    • 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 context
      type - the type of the expected instance
      Returns:
      the instance or null if not found