@ApplicationScoped public class DeploymentManagerEntryPointImpl extends Object implements DeploymentManagerEntryPoint, Initializable<org.jbpm.services.api.model.DeploymentUnit>, org.guvnor.common.services.project.builder.service.PostBuildHandler
| Constructor and Description |
|---|
DeploymentManagerEntryPointImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(DeploymentUnitSummary unitSummary) |
protected void |
cleanup(String identifier) |
void |
configure() |
void |
deactivate(DeploymentUnitSummary unitSummary) |
protected boolean |
deploy(org.jbpm.services.api.model.DeploymentUnit unit) |
void |
deploy(DeploymentUnitSummary unitSummary) |
void |
deployOnEvent(org.guvnor.structure.backend.deployment.DeploymentConfigChangedEvent event)
Reacts on events fired based on changes to system repository - important in
cluster environment where system repo will be synchronized
|
List<KModuleDeploymentUnitSummary> |
getAll(QueryFilter filter) |
org.uberfire.paging.PageResponse<KModuleDeploymentUnitSummary> |
getData(QueryFilter filter) |
KModuleDeploymentUnitSummary |
getItem(KModuleKey key) |
void |
initDeployments(Set<org.jbpm.services.api.model.DeploymentUnit> deploymentUnits) |
void |
process(org.guvnor.common.services.project.builder.model.BuildResults buildResults)
Auto deployed is called from authoring environment after successful build
and deploy (to maven)
|
void |
redeploy() |
void |
removeDeployment(org.jbpm.services.api.DeploymentEvent event)
Reacts on events fired by deployment service upon successful undeployment
from runtime environment so that can be stored in system repository
|
void |
saveDeployment(org.jbpm.services.api.DeploymentEvent event)
Reacts on events fired by deployment service upon successful deployment to
runtime environment so that can be stored in system repository
|
protected void |
undeploy(org.jbpm.services.api.model.DeploymentUnit unit) |
void |
undeploy(DeploymentUnitSummary unitSummary) |
void |
undeployOnEvent(org.guvnor.structure.backend.deployment.DeploymentConfigChangedEvent event)
Reacts on events fired based on changes to system repository - important in
cluster environment where system repo will be synchronized
|
@PostConstruct public void configure()
public void initDeployments(Set<org.jbpm.services.api.model.DeploymentUnit> deploymentUnits)
initDeployments in interface Initializable<org.jbpm.services.api.model.DeploymentUnit>public void deploy(DeploymentUnitSummary unitSummary)
deploy in interface DeploymentManagerEntryPointprotected boolean deploy(org.jbpm.services.api.model.DeploymentUnit unit)
public void undeploy(DeploymentUnitSummary unitSummary)
undeploy in interface DeploymentManagerEntryPointpublic void activate(DeploymentUnitSummary unitSummary)
activate in interface DeploymentManagerEntryPointpublic void deactivate(DeploymentUnitSummary unitSummary)
deactivate in interface DeploymentManagerEntryPointprotected void undeploy(org.jbpm.services.api.model.DeploymentUnit unit)
public void redeploy()
redeploy in interface DeploymentManagerEntryPointprotected void cleanup(String identifier)
public org.uberfire.paging.PageResponse<KModuleDeploymentUnitSummary> getData(QueryFilter filter)
getData in interface GenericServiceEntryPoint<KModuleKey,KModuleDeploymentUnitSummary>public void saveDeployment(@Observes
org.jbpm.services.api.DeploymentEvent event)
event - deploymentEvent that holds all required information from
runtime point of viewpublic void removeDeployment(@Observes
org.jbpm.services.api.DeploymentEvent event)
event - deploymentEvent that holds all required information from
runtime point of viewpublic void process(org.guvnor.common.services.project.builder.model.BuildResults buildResults)
process in interface org.guvnor.common.services.project.builder.service.PostBuildHandlerbuildResults - Maven deploy result that holds GAV to construct
KModuleDeploymentUnitpublic void undeployOnEvent(@Observes
org.guvnor.structure.backend.deployment.DeploymentConfigChangedEvent event)
event - - event that carries the complete DeploymentUnit to be
undeployedpublic void deployOnEvent(@Observes
org.guvnor.structure.backend.deployment.DeploymentConfigChangedEvent event)
event - - event that carries the complete DeploymentUnit to be
deployedpublic KModuleDeploymentUnitSummary getItem(KModuleKey key)
getItem in interface GenericServiceEntryPoint<KModuleKey,KModuleDeploymentUnitSummary>public List<KModuleDeploymentUnitSummary> getAll(QueryFilter filter)
getAll in interface GenericServiceEntryPoint<KModuleKey,KModuleDeploymentUnitSummary>Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.