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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThis option (use -A at compile time) should be set to opt intoApplicationstub creation. -
Method Summary
Modifier and TypeMethodDescriptionbooleanShould a stubApplicationbe created during activator creation.booleanShould aModulebe created during activator creation.booleanShould jsr-330 be followed in strict accordance.
-
Field Details
-
TAG_APPLICATION_PRE_CREATE
This option (use -A at compile time) should be set to opt intoApplicationstub 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:- It is usually not what people expect (i.e., losing @inject on overridden injectable setter methods), and
- 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 aModulebe created during activator creation. The default is true.- Returns:
- true if the module should be created
-
isApplicationPreCreated
boolean isApplicationPreCreated()Should a stubApplicationbe created during activator creation. The default is false. This feature can opt'ed in by usingTAG_APPLICATION_PRE_CREATE. Pre-req requires that this can only be enabled ifisModuleCreated()is also enabled.- Returns:
- true if the application should be created
-