org.camunda.bpm.application
Annotation Type ProcessApplication


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface ProcessApplication

Used to annotate a user-provided AbstractProcessApplication class and specify the unique name of the process application.

Author:
Daniel Meyer

Optional Element Summary
 String[] deploymentDescriptors
          Returns the location(s) of the processes.xml deployment descriptors.
 String name
          Allows specifying the name of the process application.
 String value
          Allows specifying the name of the process application.
 

value

public abstract String value
Allows specifying the name of the process application. Overrides the name property.

Default:
""

name

public abstract String name
Allows specifying the name of the process application. Only applies if the value property is not set.

Default:
""

deploymentDescriptors

public abstract String[] deploymentDescriptors
Returns the location(s) of the processes.xml deployment descriptors. The default value is{META-INF/processes.xml}. The provided path(s) must be resolvable through the ClassLoader.getResourceAsStream(String)-Method of the classloader returned by the AbstractProcessApplication.getProcessApplicationClassloader() method provided by the process application.

Returns:
the location of the processes.xml file.
Default:
"META-INF/processes.xml"


Copyright © 2016 camunda services GmbH. All rights reserved.