Annotation Type FactoryCreate
-
@Documented @Retention(RUNTIME) @Target(TYPE) @CreationRule @DigesterRule(reflectsRule=FactoryCreateRule.class, providedBy=FactoryCreateRuleProvider.class) public @interface FactoryCreate
Classes annotated withFactoryCreate
will be bound withFactoryCreateRule
digester rule.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<? extends AbstractObjectCreationFactory>
factoryClass
The Java class of the object creation factory classjava.lang.String
pattern
The element matching pattern.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
ignoreCreateExceptions
When true any exceptions thrown during object creation will be ignored.
-
-
-
Element Detail
-
factoryClass
java.lang.Class<? extends AbstractObjectCreationFactory> factoryClass
The Java class of the object creation factory class- Returns:
- the Java class of the object creation factory class.
-
-
-
pattern
java.lang.String pattern
The element matching pattern.- Returns:
- the element matching pattern.
-
-
-
ignoreCreateExceptions
boolean ignoreCreateExceptions
When true any exceptions thrown during object creation will be ignored.- Returns:
- when true any exceptions thrown during object creation will be ignored.
- Default:
- false
-
-