Package org.camunda.bpm.application
Annotation Type ProcessApplication
-
@Retention(RUNTIME) @Target(TYPE) @Inherited public @interface ProcessApplication
Used to annotate a user-providedAbstractProcessApplicationclass and specify the unique name of the process application.- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Fields Description static StringDEFAULT_META_INF_PROCESSES_XML
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]deploymentDescriptorsReturns the location(s) of theprocesses.xmldeployment descriptors.StringnameAllows specifying the name of the process application.StringvalueAllows specifying the name of the process application.
-
-
-
Field Detail
-
DEFAULT_META_INF_PROCESSES_XML
static final String DEFAULT_META_INF_PROCESSES_XML
-
-
Element Detail
-
value
String value
Allows specifying the name of the process application. Overrides thenameproperty.- Default:
- ""
-
-
-
name
String name
Allows specifying the name of the process application. Only applies if thevalueproperty is not set.- Default:
- ""
-
-
-
deploymentDescriptors
String[] deploymentDescriptors
Returns the location(s) of theprocesses.xmldeployment descriptors. The default value is{META-INF/processes.xml}. The provided path(s) must be resolvable through theClassLoader.getResourceAsStream(String)-Method of the classloader returned by theAbstractProcessApplication.getProcessApplicationClassloader()method provided by the process application.- Returns:
- the location of the
processes.xmlfile.
- Default:
- {"META-INF/processes.xml"}
-
-