Interface ActivatorCreatorCodeGen


public interface ActivatorCreatorCodeGen
Codegen request options applicable as part of the overall ActivatorCreatorRequest.
See Also:
  • Field Details

  • Method Details

    • serviceTypeToParentServiceTypes

      Map<TypeName,TypeName> serviceTypeToParentServiceTypes()
      Optionally, for each service type also provide its parent (super class) service type mapping.
      Returns:
      the service type to parent (super class) service type mapping
    • serviceTypeHierarchy

      Map<TypeName,List<TypeName>> serviceTypeHierarchy()
      The class hierarchy from Object down to and including this service type.
      Returns:
      the map of service type names to its class hierarchy
    • serviceTypeToActivatorGenericDecl

      Map<TypeName,String> serviceTypeToActivatorGenericDecl()
      Optionally, for each service, provide the generic declaration portion for the activator generic class name.
      Returns:
      the generic declaration portion for the activator generic class name
    • serviceTypeAccessLevels

      Map<TypeName,ElementInfo.Access> serviceTypeAccessLevels()
      The map of service type names to access level.
      Returns:
      the map of service type names to each respective access level
    • serviceTypeIsAbstractTypes

      Map<TypeName,Boolean> serviceTypeIsAbstractTypes()
      The map of service type names to whether they are abstract. If not found then assume concrete.
      Returns:
      the map of service type names to whether they are abstract
    • serviceTypeContracts

      Map<TypeName,Set<TypeName>> serviceTypeContracts()
      The Contract's associated with each service type.
      Returns:
      the map of service type names to Contract's implemented
    • serviceTypeExternalContracts

      Map<TypeName,Set<TypeName>> serviceTypeExternalContracts()
      The ExternalContracts associated with each service type.
      Returns:
      the map of service type names to ExternalContracts implemented
    • serviceTypeInjectionPointDependencies

      Map<TypeName,DependenciesInfo> serviceTypeInjectionPointDependencies()
      The injection point dependencies for each service type.
      Returns:
      the map of service type names to injection point dependencies info
    • serviceTypePreDestroyMethodNames

      Map<TypeName,String> serviceTypePreDestroyMethodNames()
      The PreDestroy method name for each service type.
      Returns:
      the map of service type names to PreDestroy method names
      See Also:
    • serviceTypePostConstructMethodNames

      Map<TypeName,String> serviceTypePostConstructMethodNames()
      The PostConstruct method name for each service type.
      Returns:
      the map of service type names to PostConstruct method names
      See Also:
    • serviceTypeWeights

      Map<TypeName,Double> serviceTypeWeights()
      The declared Weighted value for each service type.
      Returns:
      the map of service type names to declared weight
    • serviceTypeRunLevels

      Map<TypeName,Integer> serviceTypeRunLevels()
      The declared RunLevel value for each service type.
      Returns:
      the map of service type names to declared run level
    • serviceTypeScopeNames

      Map<TypeName,Set<String>> serviceTypeScopeNames()
      The declared Scope value for each service type.
      Returns:
      the map of service type names to declared scope name
    • serviceTypeQualifiers

      Map<TypeName,Set<QualifierAndValue>> serviceTypeQualifiers()
      The set of Qualifier's for each service type.
      Returns:
      the map of service type names to qualifiers
    • serviceTypeToProviderForTypes

      Map<TypeName,Set<TypeName>> serviceTypeToProviderForTypes()
      The set of type names that the service type acts as an "is provider" for (i.e., Provider).
      Returns:
      the map of service type names to "is provider" flag values
    • serviceTypeInterceptionPlan

      Map<TypeName,InterceptionPlan> serviceTypeInterceptionPlan()
      The service type's interception plan.
      Returns:
      the map of service type names to the interception plan
    • extraCodeGen

      Map<TypeName,List<String>> extraCodeGen()
      The extra source code that needs to be appended to the implementation.
      Returns:
      the map of service type names to the extra source code that should be added
    • extraClassComments

      Map<TypeName,List<String>> extraClassComments()
      The extra source code class comments that needs to be appended to the implementation.
      Returns:
      the map of service type names to the extra source code class comments that should be added
    • modulesRequired

      Set<String> modulesRequired()
      The set of external modules used and/or required.
      Returns:
      the set of external modules used and/or required
    • classPrefixName

      String classPrefixName()
      Typically populated as "test" if test scoped, otherwise left blank.
      Returns:
      production or test scope