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()
ProcessConf
getDeployDate
in interface ProcessConf
public java.lang.String getDeployer()
ProcessConf
getDeployer
in interface ProcessConf
public java.util.List<java.io.File> getFiles()
ProcessConf
getFiles
in interface ProcessConf
public javax.xml.namespace.QName getProcessId()
ProcessConf
getProcessId
in interface ProcessConf
public javax.xml.namespace.QName getType()
ProcessConf
getType
in interface ProcessConf
public java.lang.String getPackage()
ProcessConf
getPackage
in interface ProcessConf
public java.util.Map<javax.xml.namespace.QName,org.w3c.dom.Node> getProcessProperties()
ProcessConf
getProcessProperties
in interface ProcessConf
public long getVersion()
ProcessConf
getVersion
in interface ProcessConf
public java.io.InputStream getCBPInputStream()
ProcessConf
getCBPInputStream
in interface ProcessConf
public long getCBPFileSize()
ProcessConf
getCBPFileSize
in interface ProcessConf
public java.lang.String getBpelDocument()
ProcessConf
getBpelDocument
in interface ProcessConf
public java.net.URI getBaseURI()
ProcessConf
getBaseURI
in interface ProcessConf
public ProcessState getState()
ProcessConf
getState
in interface ProcessConf
public java.util.List<java.lang.String> getMexInterceptors(javax.xml.namespace.QName processId)
public javax.wsdl.Definition getDefinitionForService(javax.xml.namespace.QName serviceName)
ProcessConf
getDefinitionForService
in interface ProcessConf
public javax.wsdl.Definition getDefinitionForPortType(javax.xml.namespace.QName portTypeName)
ProcessConf
getDefinitionForPortType
in interface ProcessConf
public java.util.Map<java.lang.String,Endpoint> getInvokeEndpoints()
ProcessConf
getInvokeEndpoints
in interface ProcessConf
public java.util.Map<java.lang.String,ProcessConf.PartnerRoleConfig> getPartnerRoleConfig()
ProcessConf
getPartnerRoleConfig
in interface ProcessConf
public java.util.Map<java.lang.String,Endpoint> getProvideEndpoints()
ProcessConf
getProvideEndpoints
in interface ProcessConf
public boolean isSharedService(javax.xml.namespace.QName serviceName)
ProcessConf
isSharedService
in interface ProcessConf
public boolean isTransient()
ProcessConf
isTransient
in interface ProcessConf
true
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 ProcessConf
public java.util.List<org.w3c.dom.Element> getExtensionElement(javax.xml.namespace.QName qname)
ProcessConf
getExtensionElement
in interface ProcessConf
qname
- name of the extension element.public java.util.Map<java.lang.String,java.lang.String> getEndpointProperties(EndpointReference epr)
getEndpointProperties
in interface ProcessConf
public boolean isCleanupCategoryEnabled(boolean instanceSucceeded, ProcessConf.CLEANUP_CATEGORY category)
isCleanupCategoryEnabled
in interface ProcessConf
public java.util.Set<ProcessConf.CLEANUP_CATEGORY> getCleanupCategories(boolean instanceSucceeded)
getCleanupCategories
in interface ProcessConf
public java.util.List<ProcessConf.CronJob> getCronJobs()
getCronJobs
in interface ProcessConf