Interface ActivatorCreatorConfigOptions


public interface ActivatorCreatorConfigOptions
These options are expected to have an affinity match to "permit" properties found within PicoServicesConfig. These are used to fine tune the type of code generated.
See Also:
  • Field Details

    • TAG_APPLICATION_PRE_CREATE

      static final String TAG_APPLICATION_PRE_CREATE
      This option (use -A at compile time) should be set to opt into Application stub creation.
      See Also:
  • Method Details

    • isSupportsJsr330InStrictMode

      boolean isSupportsJsr330InStrictMode()
      Should jsr-330 be followed in strict accordance. The default here is actually set to false for two reasons:
      1. It is usually not what people expect (i.e., losing @inject on overridden injectable setter methods), and
      2. The implementation will e slightly more performant (i.e., the "rules" governing jsr-330 requires that base classes are injected prior to derived classes. This coupled with point 1 requires special additional book-keeping to be managed by the activators that are generated).
      Returns:
      true if strict mode is in effect
    • isModuleCreated

      boolean isModuleCreated()
      Should a Module be created during activator creation. The default is true.
      Returns:
      true if the module should be created
    • isApplicationPreCreated

      boolean isApplicationPreCreated()
      Should a stub Application be created during activator creation. The default is false. This feature can opt'ed in by using TAG_APPLICATION_PRE_CREATE. Pre-req requires that this can only be enabled if isModuleCreated() is also enabled.
      Returns:
      true if the application should be created