Class ProcessEngineAdd
- java.lang.Object
-
- org.jboss.as.controller.AbstractAddStepHandler
-
- org.camunda.bpm.container.impl.jboss.extension.handler.ProcessEngineAdd
-
- All Implemented Interfaces:
org.jboss.as.controller.descriptions.DescriptionProvider
,org.jboss.as.controller.OperationDescriptor
,org.jboss.as.controller.OperationStepHandler
public class ProcessEngineAdd extends org.jboss.as.controller.AbstractAddStepHandler implements org.jboss.as.controller.descriptions.DescriptionProvider
Provides the description and the implementation of the process-engine#add operation.- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description static ProcessEngineAdd
INSTANCE
-
Constructor Summary
Constructors Constructor Description ProcessEngineAdd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.dmr.ModelNode
getModelDescription(Locale locale)
protected List<ProcessEnginePluginXml>
getPlugins(org.jboss.dmr.ModelNode plugins)
protected Map<String,String>
getPropertiesMap(org.jboss.dmr.ModelNode properties)
protected org.jboss.msc.service.ServiceController<ProcessEngine>
installService(org.jboss.as.controller.OperationContext context, org.jboss.as.controller.ServiceVerificationHandler verificationHandler, ManagedProcessEngineMetadata processEngineConfiguration)
protected void
performRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model, org.jboss.as.controller.ServiceVerificationHandler verificationHandler, List<org.jboss.msc.service.ServiceController<?>> newControllers)
protected void
populateModel(org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model)
protected ManagedProcessEngineMetadata
transformConfiguration(org.jboss.as.controller.OperationContext context, String engineName, org.jboss.dmr.ModelNode model)
-
-
-
Field Detail
-
INSTANCE
public static final ProcessEngineAdd INSTANCE
-
-
Method Detail
-
getModelDescription
public org.jboss.dmr.ModelNode getModelDescription(Locale locale)
- Specified by:
getModelDescription
in interfaceorg.jboss.as.controller.descriptions.DescriptionProvider
-
populateModel
protected void populateModel(org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model) throws org.jboss.as.controller.OperationFailedException
- Overrides:
populateModel
in classorg.jboss.as.controller.AbstractAddStepHandler
- Throws:
org.jboss.as.controller.OperationFailedException
-
performRuntime
protected void performRuntime(org.jboss.as.controller.OperationContext context, org.jboss.dmr.ModelNode operation, org.jboss.dmr.ModelNode model, org.jboss.as.controller.ServiceVerificationHandler verificationHandler, List<org.jboss.msc.service.ServiceController<?>> newControllers) throws org.jboss.as.controller.OperationFailedException
- Throws:
org.jboss.as.controller.OperationFailedException
-
installService
protected org.jboss.msc.service.ServiceController<ProcessEngine> installService(org.jboss.as.controller.OperationContext context, org.jboss.as.controller.ServiceVerificationHandler verificationHandler, ManagedProcessEngineMetadata processEngineConfiguration)
-
transformConfiguration
protected ManagedProcessEngineMetadata transformConfiguration(org.jboss.as.controller.OperationContext context, String engineName, org.jboss.dmr.ModelNode model) throws IllegalArgumentException, org.jboss.as.controller.OperationFailedException
- Throws:
IllegalArgumentException
org.jboss.as.controller.OperationFailedException
-
getPlugins
protected List<ProcessEnginePluginXml> getPlugins(org.jboss.dmr.ModelNode plugins)
-
-