Package org.camunda.bpm.application
Annotation Type ProcessApplication
-
@Retention(RUNTIME) @Target(TYPE) @Inherited public @interface ProcessApplication
Used to annotate a user-providedAbstractProcessApplication
class and specify the unique name of the process application.- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Fields Description static String
DEFAULT_META_INF_PROCESSES_XML
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]
deploymentDescriptors
Returns the location(s) of theprocesses.xml
deployment descriptors.String
name
Allows specifying the name of the process application.String
value
Allows 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 thename
property.- Default:
- ""
-
-
-
name
String name
Allows specifying the name of the process application. Only applies if thevalue
property is not set.- Default:
- ""
-
-
-
deploymentDescriptors
String[] deploymentDescriptors
Returns the location(s) of theprocesses.xml
deployment 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.xml
file.
- Default:
- {"META-INF/processes.xml"}
-
-