@ApplicationScoped public class DynamicJaxbContextManager extends Object
| Constructor and Description |
|---|
DynamicJaxbContextManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOnDeploy(org.jbpm.services.api.DeploymentEvent event)
Called when the workbench/console/business-central deploys a new deployment.
|
JAXBContext |
getJaxbContext() |
void |
removeOnUnDeploy(org.jbpm.services.api.DeploymentEvent event)
Called when the workbench/console/business-central *un*deploys (removes) a deployment.
|
public void addOnDeploy(@Observes
org.jbpm.services.api.DeploymentEvent event)
event - public void removeOnUnDeploy(@Observes
org.jbpm.services.api.DeploymentEvent event)
JAXBContext and deployment lock object
It's VERY important that the cached JAXBContext instance be removed! The new deployment
may contain a different version of a class with the same name. Keeping the old class definition
will cause problems!event - The DeploymentEvent fired on an undeploy of a deploymentpublic JAXBContext getJaxbContext()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.