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
@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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessApplicationProcessor.java
Apache-2.0
@Override 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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessEngineStartProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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); // validat...
<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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessEngineStartProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessEngineStartProcessor.java
Apache-2.0
protected ManagedProcessEngineMetadata transformConfiguration(ProcessEngineXml processEngineXml) { return new ManagedProcessEngineMetadata( processEngineXml.getName().equals("default"), processEngineXml.getName(), processEngineXml.getDatasource(), processEngineXml.getProperties().get...
transforms the configuration as provided via the {@link ProcessEngineXml} into a {@link ManagedProcessEngineMetadata}
transformConfiguration
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessEngineStartProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessEngineStartProcessor.java
Apache-2.0
@Override public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException { DeploymentUnit deploymentUnit = phaseContext.getDeploymentUnit(); if(!ProcessApplicationAttachments.isProcessApplication(deploymentUnit)) { return; } final Module module = deploymentUn...
<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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/deployment/processor/ProcessesXmlProcessor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Attribute.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Attribute.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Attribute.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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, ModelVersion.create(BPM_PLATFORM_SUBSYSTEM_MAJOR_VERSION, BPM_PLATFORM_SUBSYSTEM_MINOR_VERSION)); subsystem.registerSubsystemModel(BpmPlatformRootDefinition.INSTANCE); s...
Path elements for the resources offered by the subsystem.
initialize
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/BpmPlatformExtension.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/BpmPlatformExtension.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/BpmPlatformExtension.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Element.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Element.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Element.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Element.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Element.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Namespace.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Namespace.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/Namespace.java
Apache-2.0
@Override 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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/BpmPlatformSubsystemRemove.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/BpmPlatformSubsystemRemove.java
Apache-2.0
@Override 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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/BpmPlatformSubsystemRemove.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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(); // start new service for...
Provides the description and the implementation of the job-acquisition#add operation. @author Christian Lipphardt
performRuntime
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/JobAcquisitionAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/JobAcquisitionAdd.java
Apache-2.0
@Override protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException { String jobAcquisitionName = PathAddress.pathAddress(operation.get(ModelDescriptionConstants.ADDRESS)).getLastElement().getValue(); context.removeService(ServiceNames.forMsc...
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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/JobAcquisitionRemove.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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).asString(); Service...
Installs the JobExecutor service into the container. @author Christian Lipphardt
performRuntime
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/JobExecutorAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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 ThreadFactoryService(); t...
Installs the JobExecutor service into the container. @author Christian Lipphardt
performRuntimeThreadPool
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/JobExecutorAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/JobExecutorAdd.java
Apache-2.0
@Override protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException { ServiceName name = ServiceNames.forMscExecutorService(); context.removeService(name); String jobExecutorThreadPoolName = SubsystemAttributeDefinitons.THREAD_POOL_NAME....
@author Daniel Meyer @author Christian Lipphardt
performRuntime
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/JobExecutorRemove.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
Apache-2.0
protected void installService(OperationContext context, ManagedProcessEngineMetadata processEngineConfiguration) { MscManagedProcessEngineController service = new MscManagedProcessEngineController(processEngineConfiguration); ServiceName serviceName = ServiceNames.forManagedProcessEngine(processEngineConfigura...
Provides the description and the implementation of the process-engine#add operation. @author Daniel Meyer
installService
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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(), e...
Provides the description and the implementation of the process-engine#add operation. @author Daniel Meyer
transformConfiguration
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineAdd.java
Apache-2.0
@Override protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model) throws OperationFailedException { String suffix = PathAddress.pathAddress(operation.get(ModelDescriptionConstants.ADDRESS)).getLastElement().getValue(); ServiceName name = ServiceNames.forManagedProcessEngi...
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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineRemove.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/extension/handler/ProcessEngineRemove.java
Apache-2.0
@Override 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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessApplication.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessApplication.java
Apache-2.0
@Override 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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessApplication.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessApplication.java
Apache-2.0
@Override 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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessApplication.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessApplication.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessApplication.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessApplication.java
Apache-2.0
@Override public ProcessEngine getValue() throws IllegalStateException, IllegalArgumentException { return processEngine; }
the process engine managed by this service
getValue
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
Apache-2.0
@Override public void start(StartContext context) throws StartException { MscRuntimeContainerDelegate runtimeContainerDelegate = runtimeContainerDelegateSupplier.get(); runtimeContainerDelegate.processEngineStarted(processEngine); createProcessEngineJndiBinding(context); }
the process engine managed by this service
start
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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 .appen...
the process engine managed by this service
createProcessEngineJndiBinding
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
Apache-2.0
@Override public void stop(StopContext context) { MscRuntimeContainerDelegate runtimeContainerDelegate = runtimeContainerDelegateSupplier.get(); runtimeContainerDelegate.processEngineStopped(processEngine); }
the process engine managed by this service
stop
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
Apache-2.0
public Supplier<MscRuntimeContainerDelegate> getRuntimeContainerDelegateSupplier() { return runtimeContainerDelegateSupplier; }
the process engine managed by this service
getRuntimeContainerDelegateSupplier
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngine.java
Apache-2.0
@Override public void start(final StartContext context) throws StartException { context.asynchronous(); executorSupplier.get().submit(new Runnable() { @Override public void run() { try { startInternal(context); context.complete(); } catch (StartException e) { ...
Instantiate the process engine controller for a process engine configuration.
start
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
@Override 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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
@Override public void stop(final StopContext context) { stopInternal(context); }
Instantiate the process engine controller for a process engine configuration.
stop
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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); } } processEngineConsumers.forEach(c -> c.acce...
Instantiate the process engine controller for a process engine configuration.
stopInternal
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
@Override public Void run() { startProcessEngine(); return null; }
Instantiate the process engine controller for a process engine configuration.
run
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
protected void addProcessEnginePlugins(JakartaTransactionProcessEngineConfiguration processEngineConfiguration) { // add process engine plugins: List<ProcessEnginePluginXml> pluginConfigurations = processEngineMetadata.getPluginConfigurations(); for (ProcessEnginePluginXml pluginXml : pluginConfigurations)...
Instantiate the process engine controller for a process engine configuration.
addProcessEnginePlugins
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
protected JakartaTransactionProcessEngineConfiguration createProcessEngineConfiguration() { String configurationClassName = ManagedJtaProcessEngineConfiguration.class.getName(); if(processEngineMetadata.getConfiguration() != null && !processEngineMetadata.getConfiguration().isEmpty()) { configurationClas...
Instantiate the process engine controller for a process engine configuration.
createProcessEngineConfiguration
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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.getDeclaredConstructor().newInstance(); } catch (Exception e) { throw new ProcessEngineException("Could n...
Instantiate the process engine controller for a process engine configuration.
createInstance
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
public void initializeServiceBuilder(ManagedProcessEngineMetadata processEngineConfiguration, ServiceBuilder<?> serviceBuilder, ServiceName name, String jobExecutorName) { ContextNames.BindInfo datasourceBindInfo = ContextNames.bindInfoFor(processEngineConfiguration.getDatasourceJndiName()); transactionM...
Instantiate the process engine controller for a process engine configuration.
initializeServiceBuilder
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscManagedProcessEngineController.java
Apache-2.0
@Override public void start(StartContext context) throws StartException { provider.accept(this); serviceContainer = context.getController().getServiceContainer(); childTarget = context.getChildTarget(); startTrackingServices(); createJndiBindings(); // set this implementation as Runtime Cont...
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
start
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@Override public void stop(StopContext context) { provider.accept(null); stopTrackingServices(); }
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
stop
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@Override 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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@Override 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(processEn...
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
registerProcessEngine
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@Override @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 = ServiceNa...
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
unregisterProcessEngine
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@Override public void deployProcessApplication(AbstractProcessApplication processApplication) { if(processApplication instanceof JakartaServletProcessApplication) { deployServletProcessApplication((JakartaServletProcessApplication)processApplication); } }
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
deployProcessApplication
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@SuppressWarnings("unchecked") protected void deployServletProcessApplication(JakartaServletProcessApplication processApplication) { ClassLoader contextClassloader = ClassLoaderUtil.getContextClassloader(); String moduleName = ((ModuleClassLoader)contextClassloader).getModule().getName(); ServiceName se...
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
deployServletProcessApplication
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@Override 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/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@Override public ProcessEngineService getProcessEngineService() { return this; }
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
getProcessEngineService
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@Override public ProcessApplicationService getProcessApplicationService() { return this; }
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
getProcessApplicationService
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@Override public ExecutorService getExecutorService() { return (ExecutorService) serviceContainer.getRequiredService(ServiceNames.forMscExecutorService()).getValue(); }
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
getExecutorService
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@Override public ProcessEngine getDefaultProcessEngine() { return getProcessEngineService(ServiceNames.forDefaultProcessEngine()); }
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
getDefaultProcessEngine
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@Override public List<ProcessEngine> getProcessEngines() { return new ArrayList<>(processEngines); }
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
getProcessEngines
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@Override public Set<String> getProcessEngineNames() { HashSet<String> result = new HashSet<>(); for (ProcessEngine engine : processEngines) { result.add(engine.getName()); } return result; }
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
getProcessEngineNames
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@Override public ProcessEngine getProcessEngine(String name) { return getProcessEngineService(ServiceNames.forManagedProcessEngine(name)); }
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
getProcessEngine
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@Override public ProcessApplicationInfo getProcessApplicationInfo(String processApplicationName) { MscManagedProcessApplication managedProcessApplication = getManagedProcessApplication(processApplicationName); if (managedProcessApplication == null) { return null; } else { return managedPr...
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
getProcessApplicationInfo
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@Override public Set<String> getProcessApplicationNames() { HashSet<String> result = new HashSet<>(); for (MscManagedProcessApplication application : processApplications) { result.add(application.getProcessApplicationInfo().getName()); } return result; }
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
getProcessApplicationNames
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@Override public ProcessApplicationReference getDeployedProcessApplication(String name) { MscManagedProcessApplication managedPa = getManagedProcessApplication(name); if(managedPa == null) { return null; } else { return managedPa.getProcessApplicationReference(); } }
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
getDeployedProcessApplication
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
protected void createJndiBindings() { final PlatformServiceReferenceFactory managedReferenceFactory = new PlatformServiceReferenceFactory(this); final ServiceName processEngineServiceBindingServiceName = ContextNames.GLOBAL_CONTEXT_SERVICE_NAME .append(BpmPlatform.APP_JNDI_NAME) .append(BpmPlatfor...
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
createJndiBindings
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
protected ProcessEngine getProcessEngineService(ServiceName processEngineServiceName) { try { ServiceController<ProcessEngine> serviceController = getProcessEngineServiceController(processEngineServiceName); return serviceController.getValue(); } catch (ServiceNotFoundException e) { return nul...
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
getProcessEngineService
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@SuppressWarnings("unchecked") protected ServiceController<ProcessEngine> getProcessEngineServiceController(ServiceName processEngineServiceName) { ServiceController<ProcessEngine> serviceController = (ServiceController<ProcessEngine>) serviceContainer.getRequiredService(processEngineServiceName); return serv...
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
getProcessEngineServiceController
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
protected void startTrackingServices() { processEngineServiceTracker = new ServiceTracker<>(ServiceNames.forManagedProcessEngines(), processEngines); serviceContainer.addListener(processEngineServiceTracker); processApplicationServiceTracker = new ServiceTracker<>(ServiceNames.forManagedProcessApplications...
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
startTrackingServices
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
protected void stopTrackingServices() { serviceContainer.removeListener(processEngineServiceTracker); serviceContainer.removeListener(processApplicationServiceTracker); }
<p>A {@link RuntimeContainerDelegate} implementation for JBoss AS 7</p> @author Daniel Meyer
stopTrackingServices
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@SuppressWarnings("unchecked") protected MscManagedProcessApplication getManagedProcessApplication(String name) { ServiceController<MscManagedProcessApplication> serviceController = (ServiceController<MscManagedProcessApplication>) serviceContainer .getService(ServiceNames.forManagedProcessApplication(nam...
<p>invoked by the {@link MscManagedProcessEngine} and {@link MscManagedProcessEngineController} when a process engine is stopped</p>
getManagedProcessApplication
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerDelegate.java
Apache-2.0
@Override public RuntimeContainerJobExecutor getValue() throws IllegalStateException, IllegalArgumentException { return this; }
@author Daniel Meyer @author Roman Smirnov
getValue
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerJobExecutor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerJobExecutor.java
Apache-2.0
@Override public void start(StartContext arg0) throws StartException { // no-op: // job executor is lazy-started when first process engine is registered and jobExecutorActivate = true // See: #CAM-4817 provider.accept(this); }
@author Daniel Meyer @author Roman Smirnov
start
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerJobExecutor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerJobExecutor.java
Apache-2.0
@Override public void stop(StopContext arg0) { provider.accept(null); shutdown(); }
@author Daniel Meyer @author Roman Smirnov
stop
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerJobExecutor.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/MscRuntimeContainerJobExecutor.java
Apache-2.0
@Override public ProcessApplicationInterface getValue() throws IllegalStateException, IllegalArgumentException { try { return reference.getProcessApplication(); } catch (ProcessApplicationUnavailableException e) { throw new IllegalStateException("Process application '" + reference.getName() + "' ...
<p>Start Service for process applications that do not expose an EE Component View (like {@link ServletProcessApplication}</p> @author Daniel Meyer
getValue
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/NoViewProcessApplicationStartService.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/NoViewProcessApplicationStartService.java
Apache-2.0
@Override public void start(StartContext context) throws StartException { try { provider.accept(reference.getProcessApplication()); } catch (ProcessApplicationUnavailableException e) { throw new IllegalStateException("Process application '" + reference.getName() + "' is not available during " ...
<p>Start Service for process applications that do not expose an EE Component View (like {@link ServletProcessApplication}</p> @author Daniel Meyer
start
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/NoViewProcessApplicationStartService.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/NoViewProcessApplicationStartService.java
Apache-2.0
@Override public void stop(StopContext context) { provider.accept(null); }
<p>Start Service for process applications that do not expose an EE Component View (like {@link ServletProcessApplication}</p> @author Daniel Meyer
stop
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/NoViewProcessApplicationStartService.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/NoViewProcessApplicationStartService.java
Apache-2.0
@Override public ServiceTarget getValue() throws IllegalStateException, IllegalArgumentException { return childTarget; }
<p>Service installed for a process application module</p> <p>This service is used as a "root" service for all services installed by a process application deployment, be it from a DeploymentProcessor or at Runtime. As this service is installed as a child service on the deployment unit, it is guaranteed that the undeplo...
getValue
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/ProcessApplicationModuleService.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/ProcessApplicationModuleService.java
Apache-2.0
@Override public void start(StartContext context) throws StartException { childTarget = context.getChildTarget(); provider.accept(this); }
<p>Service installed for a process application module</p> <p>This service is used as a "root" service for all services installed by a process application deployment, be it from a DeploymentProcessor or at Runtime. As this service is installed as a child service on the deployment unit, it is guaranteed that the undeplo...
start
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/ProcessApplicationModuleService.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/ProcessApplicationModuleService.java
Apache-2.0
@Override public void stop(StopContext context) { provider.accept(null); }
<p>Service installed for a process application module</p> <p>This service is used as a "root" service for all services installed by a process application deployment, be it from a DeploymentProcessor or at Runtime. As this service is installed as a child service on the deployment unit, it is guaranteed that the undeplo...
stop
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/ProcessApplicationModuleService.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/ProcessApplicationModuleService.java
Apache-2.0
@Override public void start(StartContext context) throws StartException { provider.accept(this); ManagedReference reference = null; try { // get the process application component ProcessApplicationInterface processApplication = null; if(paComponentViewSupplier != null) { Compon...
Supplier for the default process engine
start
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/ProcessApplicationStartService.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/ProcessApplicationStartService.java
Apache-2.0
protected void notifyBpmPlatformPlugins(BpmPlatformPlugins value, ProcessApplicationInterface processApplication) { for (BpmPlatformPlugin plugin : value.getPlugins()) { plugin.postProcessApplicationDeploy(processApplication); } }
Supplier for the default process engine
notifyBpmPlatformPlugins
java
camunda/camunda-bpm-platform
distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/ProcessApplicationStartService.java
https://github.com/camunda/camunda-bpm-platform/blob/master/distro/wildfly/subsystem/src/main/java/org/camunda/bpm/container/impl/jboss/service/ProcessApplicationStartService.java
Apache-2.0