public class ProcessConfImpl extends java.lang.Object implements ProcessConf
ProcessConf interface.
Provides configuration information for a process. Note that this class should
be immutable, that is the engine expects it to return consistent results!ProcessConf.CLEANUP_CATEGORY, ProcessConf.CleanupInfo, ProcessConf.CronJob, ProcessConf.PartnerRoleConfig| Modifier and Type | Method and Description |
|---|---|
java.net.URI |
getBaseURI()
Get the base URL for resolving resources.
|
java.lang.String |
getBpelDocument()
Get the path of the BPEL document, relative to its deployment unit
|
long |
getCBPFileSize()
Get the CBP file size.
|
java.io.InputStream |
getCBPInputStream()
Get the CBP stream.
|
java.util.Set<ProcessConf.CLEANUP_CATEGORY> |
getCleanupCategories(boolean instanceSucceeded) |
java.util.List<ProcessConf.CronJob> |
getCronJobs() |
javax.wsdl.Definition |
getDefinitionForPortType(javax.xml.namespace.QName portTypeName)
Gets the WSDL definition used in a process into which a PortType is defined.
|
javax.wsdl.Definition |
getDefinitionForService(javax.xml.namespace.QName serviceName)
Gets the WSDL definition used in a process into which a service is defined.
|
java.util.Date |
getDeployDate()
Get the date of deployment.
|
java.lang.String |
getDeployer()
Get the userid of the deployer.
|
java.util.Map<java.lang.String,java.lang.String> |
getEndpointProperties(EndpointReference epr) |
java.util.List<org.w3c.dom.Element> |
getExtensionElement(javax.xml.namespace.QName qname)
Generic facility to get additional stuff out of the process descriptor.
|
java.util.List<java.io.File> |
getFiles()
Get the files associated with the deployment.
|
java.util.Map<java.lang.String,Endpoint> |
getInvokeEndpoints()
Gets the list of endpoints a process invokes.
|
java.util.List<java.lang.String> |
getMexInterceptors(javax.xml.namespace.QName processId) |
java.lang.String |
getPackage()
Gets the name of the package into which the process is deployed.
|
java.util.Map<java.lang.String,ProcessConf.PartnerRoleConfig> |
getPartnerRoleConfig()
Returns failure handling info for invokes.
|
javax.xml.namespace.QName |
getProcessId()
Get the process id, generally the same as the type.
|
java.util.Map<javax.xml.namespace.QName,org.w3c.dom.Node> |
getProcessProperties()
Get the process properties.
|
java.util.Map<java.lang.String,Endpoint> |
getProvideEndpoints()
Gets the list of endpoints a process should provide.
|
ProcessState |
getState()
Get the state of the process.
|
javax.xml.namespace.QName |
getType()
Get the process type (BPEL definition name).
|
long |
getVersion()
Get the process version.
|
boolean |
isCleanupCategoryEnabled(boolean instanceSucceeded,
ProcessConf.CLEANUP_CATEGORY category) |
boolean |
isEventEnabled(java.util.List<java.lang.String> scopeNames,
BpelEvent.TYPE type) |
boolean |
isSharedService(javax.xml.namespace.QName serviceName)
Tells if the service is shareable
|
boolean |
isTransient()
Is this a transient process? Transient processes are not persisted in the store.
|
void |
setTransient(boolean t) |
public java.util.Date getDeployDate()
ProcessConfgetDeployDate in interface ProcessConfpublic java.lang.String getDeployer()
ProcessConfgetDeployer in interface ProcessConfpublic java.util.List<java.io.File> getFiles()
ProcessConfgetFiles in interface ProcessConfpublic javax.xml.namespace.QName getProcessId()
ProcessConfgetProcessId in interface ProcessConfpublic javax.xml.namespace.QName getType()
ProcessConfgetType in interface ProcessConfpublic java.lang.String getPackage()
ProcessConfgetPackage in interface ProcessConfpublic java.util.Map<javax.xml.namespace.QName,org.w3c.dom.Node> getProcessProperties()
ProcessConfgetProcessProperties in interface ProcessConfpublic long getVersion()
ProcessConfgetVersion in interface ProcessConfpublic java.io.InputStream getCBPInputStream()
ProcessConfgetCBPInputStream in interface ProcessConfpublic long getCBPFileSize()
ProcessConfgetCBPFileSize in interface ProcessConfpublic java.lang.String getBpelDocument()
ProcessConfgetBpelDocument in interface ProcessConfpublic java.net.URI getBaseURI()
ProcessConfgetBaseURI in interface ProcessConfpublic ProcessState getState()
ProcessConfgetState in interface ProcessConfpublic java.util.List<java.lang.String> getMexInterceptors(javax.xml.namespace.QName processId)
public javax.wsdl.Definition getDefinitionForService(javax.xml.namespace.QName serviceName)
ProcessConfgetDefinitionForService in interface ProcessConfpublic javax.wsdl.Definition getDefinitionForPortType(javax.xml.namespace.QName portTypeName)
ProcessConfgetDefinitionForPortType in interface ProcessConfpublic java.util.Map<java.lang.String,Endpoint> getInvokeEndpoints()
ProcessConfgetInvokeEndpoints in interface ProcessConfpublic java.util.Map<java.lang.String,ProcessConf.PartnerRoleConfig> getPartnerRoleConfig()
ProcessConfgetPartnerRoleConfig in interface ProcessConfpublic java.util.Map<java.lang.String,Endpoint> getProvideEndpoints()
ProcessConfgetProvideEndpoints in interface ProcessConfpublic boolean isSharedService(javax.xml.namespace.QName serviceName)
ProcessConfisSharedService in interface ProcessConfpublic boolean isTransient()
ProcessConfisTransient in interface ProcessConftrue if this is a transient process.public void setTransient(boolean t)
public boolean isEventEnabled(java.util.List<java.lang.String> scopeNames,
BpelEvent.TYPE type)
isEventEnabled in interface ProcessConfpublic java.util.List<org.w3c.dom.Element> getExtensionElement(javax.xml.namespace.QName qname)
ProcessConfgetExtensionElement in interface ProcessConfqname - name of the extension element.public java.util.Map<java.lang.String,java.lang.String> getEndpointProperties(EndpointReference epr)
getEndpointProperties in interface ProcessConfpublic boolean isCleanupCategoryEnabled(boolean instanceSucceeded,
ProcessConf.CLEANUP_CATEGORY category)
isCleanupCategoryEnabled in interface ProcessConfpublic java.util.Set<ProcessConf.CLEANUP_CATEGORY> getCleanupCategories(boolean instanceSucceeded)
getCleanupCategories in interface ProcessConfpublic java.util.List<ProcessConf.CronJob> getCronJobs()
getCronJobs in interface ProcessConf