code
stringlengths
23
201k
docstring
stringlengths
17
96.2k
func_name
stringlengths
0
235
language
stringclasses
1 value
repo
stringlengths
8
72
path
stringlengths
11
317
url
stringlengths
57
377
license
stringclasses
7 values
public static void addProcessesXml(DeploymentUnit unit, ProcessesXmlWrapper processesXmlWrapper) { unit.addToAttachmentList(PROCESSES_XML_LIST, processesXmlWrapper); }
Attach the parsed ProcessesXml file to a deployment unit.
addProcessesXml
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static List<ProcessesXmlWrapper> getProcessesXmls(DeploymentUnit deploymentUnit) { return deploymentUnit.getAttachmentList(PROCESSES_XML_LIST); }
Returns the attached {@link ProcessesXml} marker or null;
getProcessesXmls
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static void mark(DeploymentUnit unit) { unit.putAttachment(MARKER, Boolean.TRUE); }
marks a a {@link DeploymentUnit} as a process application
mark
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static void markPartOfProcessApplication(DeploymentUnit unit) { if(unit.getParent() != null && unit.getParent() != unit) { unit.getParent().putAttachment(PART_OF_MARKER, Boolean.TRUE); } }
marks a a {@link DeploymentUnit} as part of a process application
markPartOfProcessApplication
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static boolean isPartOfProcessApplication(DeploymentUnit unit) { if(isProcessApplication(unit)) { return true; } if(unit.getParent() != null && unit.getParent() != unit) { return unit.getParent().hasAttachment(PART_OF_MARKER); } return false; }
return true if the deployment unit is either itself a process application or part of a process application.
isPartOfProcessApplication
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static boolean isProcessApplication(DeploymentUnit deploymentUnit) { return deploymentUnit.hasAttachment(MARKER); }
Returns true if the {@link DeploymentUnit} itself is a process application (carries a processes.xml)
isProcessApplication
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static ComponentDescription getProcessApplicationComponent(DeploymentUnit deploymentUnit) { return deploymentUnit.getAttachment(PA_COMPONENT); }
Returns the {@link ComponentDescription} for the {@link AbstractProcessApplication} component
getProcessApplicationComponent
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static void attachProcessApplicationComponent(DeploymentUnit deploymentUnit, ComponentDescription componentDescription){ deploymentUnit.putAttachment(PA_COMPONENT, componentDescription); }
Attach the {@link ComponentDescription} for the {@link AbstractProcessApplication} component
attachProcessApplicationComponent
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static void attachPostDeployDescription(DeploymentUnit deploymentUnit, AnnotationInstance annotation){ deploymentUnit.putAttachment(POST_DEPLOY_METHOD, annotation); }
Attach the {@link AnnotationInstance}s for the PostDeploy methods
attachPostDeployDescription
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static void attachPreUndeployDescription(DeploymentUnit deploymentUnit, AnnotationInstance annotation){ deploymentUnit.putAttachment(PRE_UNDEPLOY_METHOD, annotation); }
Attach the {@link AnnotationInstance}s for the PreUndeploy methods
attachPreUndeployDescription
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static AnnotationInstance getPostDeployDescription(DeploymentUnit deploymentUnit) { return deploymentUnit.getAttachment(POST_DEPLOY_METHOD); }
@return the description of the PostDeploy method
getPostDeployDescription
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public static AnnotationInstance getPreUndeployDescription(DeploymentUnit deploymentUnit) { return deploymentUnit.getAttachment(PRE_UNDEPLOY_METHOD); }
@return the description of the PreUndeploy method
getPreUndeployDescription
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/marker/ProcessApplicationAttachments.java
Apache-2.0
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); if (deploymentUnit.getParent() == null) { //The deployment unit has no parent so it is a simple war or an ear. ModuleLoader mod...
<p>This Processor creates implicit module dependencies for process applications</p> <p>Concretely speaking, this processor adds a module dependency from the process application module (deployment unit) to the process engine module (and other camunda libraries which are useful for process apps).</p> @author Daniel Mey...
deploy
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ModuleDependencyProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ModuleDependencyProcessor.java
Apache-2.0
private void addSystemDependencies(ModuleLoader moduleLoader, final ModuleSpecification moduleSpecification) { addSystemDependency(moduleLoader, moduleSpecification, MODULE_IDENTIFYER_PROCESS_ENGINE); addSystemDependency(moduleLoader, moduleSpecification, MODULE_IDENTIFYER_XML_MODEL); addSystemDependency(mo...
<p>This Processor creates implicit module dependencies for process applications</p> <p>Concretely speaking, this processor adds a module dependency from the process application module (deployment unit) to the process engine module (and other camunda libraries which are useful for process apps).</p> @author Daniel Mey...
addSystemDependencies
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ModuleDependencyProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ModuleDependencyProcessor.java
Apache-2.0
private void addSystemDependency(ModuleLoader moduleLoader, final ModuleSpecification moduleSpecification, ModuleIdentifier dependency) { addSystemDependency(moduleLoader, moduleSpecification, dependency, false); }
<p>This Processor creates implicit module dependencies for process applications</p> <p>Concretely speaking, this processor adds a module dependency from the process application module (deployment unit) to the process engine module (and other camunda libraries which are useful for process apps).</p> @author Daniel Mey...
addSystemDependency
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ModuleDependencyProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ModuleDependencyProcessor.java
Apache-2.0
private void addSystemDependency(ModuleLoader moduleLoader, final ModuleSpecification moduleSpecification, ModuleIdentifier dependency, boolean importServices) { moduleSpecification.addSystemDependency(new ModuleDependency(moduleLoader, dependency, false, false, importServices, false)); }
<p>This Processor creates implicit module dependencies for process applications</p> <p>Concretely speaking, this processor adds a module dependency from the process application module (deployment unit) to the process engine module (and other camunda libraries which are useful for process apps).</p> @author Daniel Mey...
addSystemDependency
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ModuleDependencyProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ModuleDependencyProcessor.java
Apache-2.0
@Override public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); if(!ProcessApplicationAttachments.isProcessApplication(deploymentUnit)) { return; } final ComponentDescription p...
<p>This processor installs the process application into the container.</p> <p>First, we initialize the deployments for all process archives declared by the process application. It then registers a {@link ProcessApplicationDeploymentService} for each process archive to be deployed. Finally it registers the {@link MscMa...
deploy
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
Apache-2.0
@Override public void undeploy(DeploymentUnit deploymentUnit) { }
<p>This processor installs the process application into the container.</p> <p>First, we initialize the deployments for all process archives declared by the process application. It then registers a {@link ProcessApplicationDeploymentService} for each process archive to be deployed. Finally it registers the {@link MscMa...
undeploy
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
Apache-2.0
protected ServiceName getProcessApplicationViewServiceName(ComponentDescription paComponent) { Set<ViewDescription> views = paComponent.getViews(); if(views == null || views.isEmpty()) { return null; } else { ViewDescription next = views.iterator().next(); return next.getServiceName(); ...
<p>This processor installs the process application into the container.</p> <p>First, we initialize the deployments for all process archives declared by the process application. It then registers a {@link ProcessApplicationDeploymentService} for each process archive to be deployed. Finally it registers the {@link MscMa...
getProcessApplicationViewServiceName
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
Apache-2.0
protected ComponentDescription getProcessApplicationComponent(DeploymentUnit deploymentUnit) { ComponentDescription paComponentDescription = ProcessApplicationAttachments.getProcessApplicationComponent(deploymentUnit); return paComponentDescription; }
<p>This processor installs the process application into the container.</p> <p>First, we initialize the deployments for all process archives declared by the process application. It then registers a {@link ProcessApplicationDeploymentService} for each process archive to be deployed. Finally it registers the {@link MscMa...
getProcessApplicationComponent
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
Apache-2.0
@SuppressWarnings("unchecked") protected ProcessEngine getProcessEngineForArchive(ServiceName serviceName, ServiceRegistry serviceRegistry) { ServiceController<ProcessEngine> processEngineServiceController = (ServiceController<ProcessEngine>) serviceRegistry.getRequiredService(serviceName); return processEngi...
<p>This processor installs the process application into the container.</p> <p>First, we initialize the deployments for all process archives declared by the process application. It then registers a {@link ProcessApplicationDeploymentService} for each process archive to be deployed. Finally it registers the {@link MscMa...
getProcessEngineForArchive
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
Apache-2.0
protected ServiceName getProcessEngineServiceName(ProcessArchiveXml processArchive) { ServiceName serviceName = null; if(processArchive.getProcessEngineName() == null || processArchive.getProcessEngineName().length() == 0) { serviceName = ServiceNames.forDefaultProcessEngine(); } else { serviceN...
<p>This processor installs the process application into the container.</p> <p>First, we initialize the deployments for all process archives declared by the process application. It then registers a {@link ProcessApplicationDeploymentService} for each process archive to be deployed. Finally it registers the {@link MscMa...
getProcessEngineServiceName
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
Apache-2.0
protected Map<String, byte[]> getDeploymentResources(ProcessArchiveXml processArchive, DeploymentUnit deploymentUnit, VirtualFile processesXmlFile) { final Module module = deploymentUnit.getAttachment(MODULE); Map<String, byte[]> resources = new HashMap<String, byte[]>(); // first, add all resources list...
<p>This processor installs the process application into the container.</p> <p>First, we initialize the deployments for all process archives declared by the process application. It then registers a {@link ProcessApplicationDeploymentService} for each process archive to be deployed. Finally it registers the {@link MscMa...
getDeploymentResources
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
Apache-2.0
protected URL vfsFileAsUrl(VirtualFile processesXmlFile) { try { return processesXmlFile.toURL(); } catch (MalformedURLException e) { throw new RuntimeException(e); } }
<p>This processor installs the process application into the container.</p> <p>First, we initialize the deployments for all process archives declared by the process application. It then registers a {@link ProcessApplicationDeploymentService} for each process archive to be deployed. Finally it registers the {@link MscMa...
vfsFileAsUrl
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationDeploymentProcessor.java
Apache-2.0
@Override public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); final EEModuleDescription eeModuleDescription = deploymentUnit.getAttachment(Attachments.EE_MODULE_DESCRIPTION); // must be ...
<p>This processor detects a user-provided component annotated with the {@link ProcessApplication}-annotation.</p> <p>If no such component is found but the deployment unit carries a META-INF/processes.xml file, a Singleton Session Bean component is synthesized.</p> @author Daniel Meyer
deploy
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationProcessor.java
Apache-2.0
protected ComponentDescription detectExistingComponent(DeploymentUnit deploymentUnit) throws DeploymentUnitProcessingException { final EEModuleDescription eeModuleDescription = deploymentUnit.getAttachment(Attachments.EE_MODULE_DESCRIPTION); final EEApplicationClasses eeApplicationClasses = deploymentUnit.getA...
Detect an existing {@link ProcessApplication} component.
detectExistingComponent
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationProcessor.java
Apache-2.0
protected List<AnnotationInstance> getAnnotationsFromSupportedClasses(CompositeIndex compositeIndex, Class<?> annotationClass, Set<ClassInfo> unsupportedClasses) { List<AnnotationInstance> annotations = compositeIndex.getAnnotations(DotName.createSimple(annotationClass.getName())); return annotations.stream() ...
Detect an existing {@link ProcessApplication} component.
getAnnotationsFromSupportedClasses
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationProcessor.java
Apache-2.0
protected ClassInfo getClassInfo(AnnotationInstance annotation) { AnnotationTarget target = annotation.target(); switch (target.kind()) { case METHOD: return target.asMethod().declaringClass(); case CLASS: return target.asClass(); default: return null; } }
Detect an existing {@link ProcessApplication} component.
getClassInfo
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationProcessor.java
Apache-2.0
@Override public void undeploy(DeploymentUnit context) { }
Detect an existing {@link ProcessApplication} component.
undeploy
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationProcessor.java
Apache-2.0
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { final DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); if(!ProcessApplicationAttachments.isProcessApplication(deploymentUnit)) { return; } List<ProcessesXmlWrapper> pr...
<p>Deployment Unit Processor that creates process engine services for each process engine configured in a <code>processes.xml</code> file</p> @author Daniel Meyer
deploy
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessEngineStartProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessEngineStartProcessor.java
Apache-2.0
protected void startProcessEngine(ProcessEngineXml processEngineXml, DeploymentPhaseContext phaseContext) { final ServiceTarget serviceTarget = phaseContext.getServiceTarget(); // transform configuration ManagedProcessEngineMetadata configuration = transformConfiguration(processEngineXml); ...
<p>Deployment Unit Processor that creates process engine services for each process engine configured in a <code>processes.xml</code> file</p> @author Daniel Meyer
startProcessEngine
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessEngineStartProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessEngineStartProcessor.java
Apache-2.0
@SuppressWarnings({ "unchecked", "rawtypes" }) protected ManagedProcessEngineMetadata transformConfiguration(ProcessEngineXml processEngineXml) { return new ManagedProcessEngineMetadata( processEngineXml.getName().equals("default"), processEngineXml.getName(), processEngineXml.getDatasourc...
transforms the configuration as provided via the {@link ProcessEngineXml} into a {@link ManagedProcessEngineMetadata}
transformConfiguration
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessEngineStartProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessEngineStartProcessor.java
Apache-2.0
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); if(!ProcessApplicationAttachments.isProcessApplication(deploymentUnit)) { return; } final Module module = deploymentUnit.getAttach...
<p>Detects and processes all <em>META-INF/processes.xml</em> files that are visible from the module classloader of the {@link DeploymentUnit}.</p> <p>This is POST_MODULE so we can take into account module visibility in case of composite deployments (EARs)</p> @author Daniel Meyer
deploy
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
Apache-2.0
protected List<URL> getDeploymentDescriptorUrls(final Module module, String[] deploymentDescriptors) throws DeploymentUnitProcessingException { List<URL> deploymentDescriptorURLs = new ArrayList<URL>(); for (String deploymentDescriptor : deploymentDescriptors) { Enumeration<URL> resources = null; tr...
<p>Detects and processes all <em>META-INF/processes.xml</em> files that are visible from the module classloader of the {@link DeploymentUnit}.</p> <p>This is POST_MODULE so we can take into account module visibility in case of composite deployments (EARs)</p> @author Daniel Meyer
getDeploymentDescriptorUrls
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
Apache-2.0
protected String[] getDeploymentDescriptors(DeploymentUnit deploymentUnit) throws DeploymentUnitProcessingException { final ComponentDescription processApplicationComponent = ProcessApplicationAttachments.getProcessApplicationComponent(deploymentUnit); final String paClassName = processApplicationComponent.get...
<p>Detects and processes all <em>META-INF/processes.xml</em> files that are visible from the module classloader of the {@link DeploymentUnit}.</p> <p>This is POST_MODULE so we can take into account module visibility in case of composite deployments (EARs)</p> @author Daniel Meyer
getDeploymentDescriptors
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
Apache-2.0
protected Enumeration<URL> getProcessesXmlResources(Module module, String[] deploymentDescriptors) throws DeploymentUnitProcessingException { try { return module.getClassLoader().getResources(PROCESSES_XML); } catch (IOException e) { throw new DeploymentUnitProcessingException(e); } }
<p>Detects and processes all <em>META-INF/processes.xml</em> files that are visible from the module classloader of the {@link DeploymentUnit}.</p> <p>This is POST_MODULE so we can take into account module visibility in case of composite deployments (EARs)</p> @author Daniel Meyer
getProcessesXmlResources
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
Apache-2.0
protected VirtualFile getFile(URL processesXmlResource) throws DeploymentUnitProcessingException { try { return VFS.getChild(processesXmlResource.toURI()); } catch(Exception e) { throw new DeploymentUnitProcessingException(e); } }
<p>Detects and processes all <em>META-INF/processes.xml</em> files that are visible from the module classloader of the {@link DeploymentUnit}.</p> <p>This is POST_MODULE so we can take into account module visibility in case of composite deployments (EARs)</p> @author Daniel Meyer
getFile
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
Apache-2.0
protected boolean isEmptyFile(URL url) { InputStream inputStream = null; try { inputStream = url.openStream(); return inputStream.available() == 0; } catch (IOException e) { throw new ProcessEngineException("Could not open stream for " + url, e); } finally { IoUtil.closeSilen...
<p>Detects and processes all <em>META-INF/processes.xml</em> files that are visible from the module classloader of the {@link DeploymentUnit}.</p> <p>This is POST_MODULE so we can take into account module visibility in case of composite deployments (EARs)</p> @author Daniel Meyer
isEmptyFile
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
Apache-2.0
protected ProcessesXml parseProcessesXml(URL url) { final ProcessesXmlParser processesXmlParser = new ProcessesXmlParser(); ProcessesXml processesXml = processesXmlParser.createParse() .sourceUrl(url) .execute() .getProcessesXml(); return processesXml; }
<p>Detects and processes all <em>META-INF/processes.xml</em> files that are visible from the module classloader of the {@link DeploymentUnit}.</p> <p>This is POST_MODULE so we can take into account module visibility in case of composite deployments (EARs)</p> @author Daniel Meyer
parseProcessesXml
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
Apache-2.0
public String getLocalName() { return name; }
Get the local name of this element. @return the local name
getLocalName
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Attribute.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Attribute.java
Apache-2.0
public AttributeDefinition getDefinition() { return definition; }
Get the local name of this element. @return the local name
getDefinition
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Attribute.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Attribute.java
Apache-2.0
public static Attribute forName(String localName) { final Attribute element = MAP.get(localName); return element == null ? UNKNOWN : element; }
Get the local name of this element. @return the local name
forName
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Attribute.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Attribute.java
Apache-2.0
@Override public void initialize(ExtensionContext context) { SubsystemRegistration subsystem = context.registerSubsystem(SUBSYSTEM_NAME, BPM_PLATFORM_SUBSYSTEM_MAJOR_VERSION, BPM_PLATFORM_SUBSYSTEM_MINOR_VERSION); subsystem.registerSubsystemModel(BpmPlatformRootDefinition.INSTANCE); subsystem.registerXMLE...
Path elements for the resources offered by the subsystem.
initialize
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/BpmPlatformExtension.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/BpmPlatformExtension.java
Apache-2.0
@Override public void initializeParsers(ExtensionParsingContext context) { context.setSubsystemXmlMapping(ModelConstants.SUBSYSTEM_NAME, Namespace.CAMUNDA_BPM_PLATFORM_1_1.getUriString(), parser); }
Path elements for the resources offered by the subsystem.
initializeParsers
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/BpmPlatformExtension.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/BpmPlatformExtension.java
Apache-2.0
public static StandardResourceDescriptionResolver getResourceDescriptionResolver(final String... keyPrefix) { StringBuilder prefix = new StringBuilder(SUBSYSTEM_NAME); for (String kp : keyPrefix) { prefix.append('.').append(kp); } return new StandardResourceDescriptionResolver(prefix.toString(), R...
Resolve the descriptions of the resources from the 'LocalDescriptions.properties' file.
getResourceDescriptionResolver
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/BpmPlatformExtension.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/BpmPlatformExtension.java
Apache-2.0
public String getLocalName() { return name; }
Get the local name of this element. @return the local name
getLocalName
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Element.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Element.java
Apache-2.0
public AttributeDefinition getDefinition() { return definition; }
Get the local name of this element. @return the local name
getDefinition
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Element.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Element.java
Apache-2.0
public AttributeDefinition getDefinition(final String name) { return definitions.get(name); }
Get the local name of this element. @return the local name
getDefinition
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Element.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Element.java
Apache-2.0
public static Element forName(String localName) { final Element element = MAP.get(localName); return element == null ? UNKNOWN : element; }
Get the local name of this element. @return the local name
forName
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Element.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Element.java
Apache-2.0
@SuppressWarnings("unused") private static List<AttributeDefinition> getAttributeDefinitions(final AttributeDefinition... attributeDefinitions) { return Arrays.asList(attributeDefinitions); }
Get the local name of this element. @return the local name
getAttributeDefinitions
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Element.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Element.java
Apache-2.0
public String getUriString() { return name; }
Get the URI of this element. @return the URI
getUriString
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Namespace.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Namespace.java
Apache-2.0
public static Namespace forUri(String uri) { final Namespace element = MAP.get(uri); return element == null ? UNKNOWN : element; }
Get the URI of this element. @return the URI
forUri
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Namespace.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Namespace.java
Apache-2.0
protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException { super.performRuntime(context, operation, model); }
@author Daniel Meyer @author Christian Lipphardt
performRuntime
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/BpmPlatformSubsystemRemove.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/BpmPlatformSubsystemRemove.java
Apache-2.0
protected void recoverServices(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException { super.recoverServices(context, operation, model); }
@author Daniel Meyer @author Christian Lipphardt
recoverServices
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/BpmPlatformSubsystemRemove.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/BpmPlatformSubsystemRemove.java
Apache-2.0
@Override protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model) throws OperationFailedException { String acquisitionName = PathAddress.pathAddress(operation.get(ModelDescriptionConstants.ADDRESS)).getLastElement().getValue(); MscRuntimeContainerJobEx...
Provides the description and the implementation of the job-acquisition#add operation. @author Christian Lipphardt
performRuntime
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/JobAcquisitionAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/JobAcquisitionAdd.java
Apache-2.0
protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException { String jobAcquisitionName = PathAddress.pathAddress(operation.get(ModelDescriptionConstants.ADDRESS)).getLastElement().getValue(); context.removeService(ServiceNames.forMscRuntimeConta...
Provides the description and the implementation of the process-engine#remove operation. @author Daniel Meyer @author Christian Lipphardt
performRuntime
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/JobAcquisitionRemove.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/JobAcquisitionRemove.java
Apache-2.0
@Override protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model) throws OperationFailedException { String jobExecutorThreadPoolName = SubsystemAttributeDefinitons.THREAD_POOL_NAME.resolveModelAttribute(context, model).asSt...
Installs the JobExecutor service into the container. @author Christian Lipphardt
performRuntime
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/JobExecutorAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/JobExecutorAdd.java
Apache-2.0
protected void performRuntimeThreadPool(OperationContext context, ModelNode model, String name, ServiceName jobExecutorThreadPoolServiceName) throws OperationFailedException { ServiceTarget serviceTarget = context.getServiceTarget(); ThreadFactoryService threadFactory = new ThreadFactorySe...
Installs the JobExecutor service into the container. @author Christian Lipphardt
performRuntimeThreadPool
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/JobExecutorAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/JobExecutorAdd.java
Apache-2.0
protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException { ServiceName name = ServiceNames.forMscExecutorService(); context.removeService(name); String jobExecutorThreadPoolName = SubsystemAttributeDefinitons.THREAD_POOL_NAME.resolveModel...
@author Daniel Meyer @author Christian Lipphardt
performRuntime
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/JobExecutorRemove.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/JobExecutorRemove.java
Apache-2.0
@Override protected void performRuntime(final OperationContext context, final ModelNode operation, final ModelNode model) throws OperationFailedException { String engineName = PathAddress.pathAddress(operation.get(ADDRESS)).getLastElement().getValue(); ManagedProcessEngineMetadata processEngineConfiguration...
Provides the description and the implementation of the process-engine#add operation. @author Daniel Meyer
performRuntime
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
Apache-2.0
protected ServiceController<ProcessEngine> installService(OperationContext context, ManagedProcessEngineMetadata processEngineConfiguration) { MscManagedProcessEngineController service = new MscManagedProcessEngineController(processEngineConfiguration); ServiceName name = ServiceNames.forManagedProcessE...
Provides the description and the implementation of the process-engine#add operation. @author Daniel Meyer
installService
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
Apache-2.0
protected ManagedProcessEngineMetadata transformConfiguration(final OperationContext context, String engineName, final ModelNode model) throws OperationFailedException { return new ManagedProcessEngineMetadata( SubsystemAttributeDefinitons.DEFAULT.resolveModelAttribute(context, model).asBoolean(), engin...
Provides the description and the implementation of the process-engine#add operation. @author Daniel Meyer
transformConfiguration
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
Apache-2.0
protected List<ProcessEnginePluginXml> getPlugins(ModelNode plugins) { List<ProcessEnginePluginXml> pluginConfigurations = new ArrayList<>(); if (plugins.isDefined()) { for (final ModelNode plugin : plugins.asList()) { ProcessEnginePluginXml processEnginePluginXml = new ProcessEnginePluginXml() ...
Provides the description and the implementation of the process-engine#add operation. @author Daniel Meyer
getPlugins
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
Apache-2.0
@Override public String getPluginClass() { return plugin.get(Element.PLUGIN_CLASS.getLocalName()).asString(); }
Provides the description and the implementation of the process-engine#add operation. @author Daniel Meyer
getPluginClass
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
Apache-2.0
@Override public Map<String, String> getProperties() { return ProcessEngineAdd.this.getProperties(plugin.get(Element.PROPERTIES.getLocalName())); }
Provides the description and the implementation of the process-engine#add operation. @author Daniel Meyer
getProperties
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
Apache-2.0
protected Map<String, String> getProperties(ModelNode properties) { Map<String, String> propertyMap = new HashMap<>(); if (properties.isDefined()) { for (Property property : properties.asPropertyList()) { propertyMap.put(property.getName(), property.getValue().asString()); } } return...
Provides the description and the implementation of the process-engine#add operation. @author Daniel Meyer
getProperties
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
Apache-2.0
protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException { String suffix = PathAddress.pathAddress(operation.get(ModelDescriptionConstants.ADDRESS)).getLastElement().getValue(); ServiceName name = ServiceNames.forManagedProcessEngine(suffix); ...
Provides the description and the implementation of the process-engine#remove operation. @author Daniel Meyer @author Christian Lipphardt
performRuntime
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineRemove.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineRemove.java
Apache-2.0
public MscManagedProcessApplication getValue() throws IllegalStateException, IllegalArgumentException { return this; }
<p>Represents a Process Application registered with the Msc</p> <p>This is the equivalent of the {@link JmxManagedProcessApplication}</p> @author Daniel Meyer
getValue
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessApplication.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessApplication.java
Apache-2.0
public void start(StartContext context) throws StartException { // call the process application's }
<p>Represents a Process Application registered with the Msc</p> <p>This is the equivalent of the {@link JmxManagedProcessApplication}</p> @author Daniel Meyer
start
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessApplication.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessApplication.java
Apache-2.0
public void stop(StopContext context) { // Nothing to do }
<p>Represents a Process Application registered with the Msc</p> <p>This is the equivalent of the {@link JmxManagedProcessApplication}</p> @author Daniel Meyer
stop
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessApplication.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessApplication.java
Apache-2.0
public ProcessApplicationInfo getProcessApplicationInfo() { return processApplicationInfo; }
<p>Represents a Process Application registered with the Msc</p> <p>This is the equivalent of the {@link JmxManagedProcessApplication}</p> @author Daniel Meyer
getProcessApplicationInfo
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessApplication.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessApplication.java
Apache-2.0
public ProcessApplicationReference getProcessApplicationReference() { return processApplicationReference; }
<p>Represents a Process Application registered with the Msc</p> <p>This is the equivalent of the {@link JmxManagedProcessApplication}</p> @author Daniel Meyer
getProcessApplicationReference
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessApplication.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessApplication.java
Apache-2.0
public ProcessEngine getValue() throws IllegalStateException, IllegalArgumentException { return processEngine; }
the process engine managed by this service
getValue
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
Apache-2.0
public void start(StartContext context) throws StartException { MscRuntimeContainerDelegate runtimeContainerDelegate = runtimeContainerDelegateInjector.getValue(); runtimeContainerDelegate.processEngineStarted(processEngine); createProcessEngineJndiBinding(context); }
the process engine managed by this service
start
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
Apache-2.0
protected void createProcessEngineJndiBinding(StartContext context) { final ProcessEngineManagedReferenceFactory managedReferenceFactory = new ProcessEngineManagedReferenceFactory(processEngine); final ServiceName processEngineServiceBindingServiceName = ContextNames.GLOBAL_CONTEXT_SERVICE_NAME ...
the process engine managed by this service
createProcessEngineJndiBinding
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
Apache-2.0
public void stop(StopContext context) { MscRuntimeContainerDelegate runtimeContainerDelegate = runtimeContainerDelegateInjector.getValue(); runtimeContainerDelegate.processEngineStopped(processEngine); }
the process engine managed by this service
stop
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
Apache-2.0
public Injector<MscRuntimeContainerDelegate> getRuntimeContainerDelegateInjector() { return runtimeContainerDelegateInjector; }
the process engine managed by this service
getRuntimeContainerDelegateInjector
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
Apache-2.0
public void start(final StartContext context) throws StartException { context.asynchronous(); executorInjector.getValue().submit(new Runnable() { public void run() { try { startInternal(context); context.complete(); } catch (StartException e) { context.failed...
Instantiate the process engine controller for a process engine configuration.
start
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
public void run() { try { startInternal(context); context.complete(); } catch (StartException e) { context.failed(e); } catch (Throwable e) { context.failed(new StartException(e)); } }
Instantiate the process engine controller for a process engine configuration.
run
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
protected void stopInternal(StopContext context) { try { super.stop(context); } finally { try { processEngine.close(); } catch (Exception e) { LOGGER.log(Level.SEVERE, "exception while closing process engine", e); } } }
Instantiate the process engine controller for a process engine configuration.
stopInternal
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
public void startInternal(StartContext context) throws StartException { // setting the TCCL to the Classloader of this module. // this exploits a hack in MyBatis allowing it to use the TCCL to load the // mapping files from the process engine module Tccl.runUnderClassloader(new Operation<Void>() { ...
Instantiate the process engine controller for a process engine configuration.
startInternal
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
public Void run() { startProcessEngine(); return null; }
Instantiate the process engine controller for a process engine configuration.
run
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
protected void startProcessEngine() { processEngineConfiguration = createProcessEngineConfiguration(); // set the name for the process engine processEngineConfiguration.setProcessEngineName(processEngineMetadata.getEngineName()); // set the value for the history processEngineConfiguration.setHist...
Instantiate the process engine controller for a process engine configuration.
startProcessEngine
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
protected void addProcessEnginePlugins(JtaProcessEngineConfiguration processEngineConfiguration) { // add process engine plugins: List<ProcessEnginePluginXml> pluginConfigurations = processEngineMetadata.getPluginConfigurations(); for (ProcessEnginePluginXml pluginXml : pluginConfigurations) { // cre...
Instantiate the process engine controller for a process engine configuration.
addProcessEnginePlugins
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
protected JtaProcessEngineConfiguration createProcessEngineConfiguration() { String configurationClassName = ManagedJtaProcessEngineConfiguration.class.getName(); if(processEngineMetadata.getConfiguration() != null && !processEngineMetadata.getConfiguration().isEmpty()) { configurationClassName = process...
Instantiate the process engine controller for a process engine configuration.
createProcessEngineConfiguration
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
private Object createInstance(String configurationClassName) { try { Class<?> configurationClass = getClass().getClassLoader().loadClass(configurationClassName); return configurationClass.newInstance(); } catch (Exception e) { throw new ProcessEngineException("Could not load '"+configurationC...
Instantiate the process engine controller for a process engine configuration.
createInstance
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
public Injector<TransactionManager> getTransactionManagerInjector() { return transactionManagerInjector; }
Instantiate the process engine controller for a process engine configuration.
getTransactionManagerInjector
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
public Injector<DataSourceReferenceFactoryService> getDatasourceBinderServiceInjector() { return datasourceBinderServiceInjector; }
Instantiate the process engine controller for a process engine configuration.
getDatasourceBinderServiceInjector
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
public InjectedValue<MscRuntimeContainerJobExecutor> getMscRuntimeContainerJobExecutorInjector() { return mscRuntimeContainerJobExecutorInjector; }
Instantiate the process engine controller for a process engine configuration.
getMscRuntimeContainerJobExecutorInjector
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
public static void initializeServiceBuilder(ManagedProcessEngineMetadata processEngineConfiguration, MscManagedProcessEngineController service, ServiceBuilder<ProcessEngine> serviceBuilder, String jobExecutorName) { ContextNames.BindInfo datasourceBindInfo = ContextNames.bindInfoFor(processEngineConfigur...
Instantiate the process engine controller for a process engine configuration.
initializeServiceBuilder
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
public ProcessEngine getProcessEngine() { return processEngine; }
Instantiate the process engine controller for a process engine configuration.
getProcessEngine
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
public InjectedValue<ExecutorService> getExecutorInjector() { return executorInjector; }
Instantiate the process engine controller for a process engine configuration.
getExecutorInjector
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
public ManagedProcessEngineMetadata getProcessEngineMetadata() { return processEngineMetadata; }
Instantiate the process engine controller for a process engine configuration.
getProcessEngineMetadata
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
public void start(StartContext context) throws StartException { serviceContainer = context.getController().getServiceContainer(); childTarget = context.getChildTarget(); startTrackingServices(); createJndiBindings(); // set this implementation as Runtime Container RuntimeContainerDelegate.INST...
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
start
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
public MscRuntimeContainerDelegate getValue() throws IllegalStateException, IllegalArgumentException { return this; }
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
getValue
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
public void registerProcessEngine(ProcessEngine processEngine) { if(processEngine == null) { throw new ProcessEngineException("Cannot register process engine with Msc Runtime Container: process engine is 'null'"); } ServiceName serviceName = ServiceNames.forManagedProcessEngine(processEngine.getName...
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
registerProcessEngine
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@SuppressWarnings("unchecked") public void unregisterProcessEngine(ProcessEngine processEngine) { if(processEngine == null) { throw new ProcessEngineException("Cannot unregister process engine with Msc Runtime Container: process engine is 'null'"); } ServiceName serviceName = ServiceNames.forManag...
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
unregisterProcessEngine
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
public void deployProcessApplication(AbstractProcessApplication processApplication) { if(processApplication instanceof ServletProcessApplication) { deployServletProcessApplication((ServletProcessApplication)processApplication); } }
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
deployProcessApplication
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@SuppressWarnings("unchecked") protected void deployServletProcessApplication(ServletProcessApplication processApplication) { ClassLoader contextClassloader = ClassLoaderUtil.getContextClassloader(); String moduleName = ((ModuleClassLoader)contextClassloader).getModule().getIdentifier().toString(); Serv...
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
deployServletProcessApplication
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
public void undeployProcessApplication(AbstractProcessApplication processApplication) { // nothing to do }
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
undeployProcessApplication
java
camunda/camunda-bpm-platform
distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly26/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0