|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ode.store.ProcessConfImpl
public class ProcessConfImpl
Implementation of the 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!
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.ode.bpel.iapi.ProcessConf |
|---|
ProcessConf.CLEANUP_CATEGORY |
| Constructor Summary | |
|---|---|
ProcessConfImpl(javax.xml.namespace.QName pid,
javax.xml.namespace.QName type,
long version,
DeploymentUnitDir du,
TDeployment.Process pinfo,
java.util.Date deployDate,
java.util.Map<javax.xml.namespace.QName,org.w3c.dom.Node> props,
ProcessState pstate,
EndpointReferenceContext eprContext,
java.io.File configDir)
|
|
| Method Summary | |
|---|---|
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 |
java.io.InputStream |
getCBPInputStream()
Get the CBP stream. |
java.util.Set<ProcessConf.CLEANUP_CATEGORY> |
getCleanupCategories(boolean instanceSucceeded)
|
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. |
DeploymentUnitDir |
getDeploymentUnit()
|
java.util.Map<java.lang.String,java.lang.String> |
getEndpointProperties(EndpointReference epr)
Returns a list of properties associtated to this endpoint. |
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. |
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 |
setState(ProcessState state)
|
void |
setTransient(boolean t)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessConfImpl(javax.xml.namespace.QName pid,
javax.xml.namespace.QName type,
long version,
DeploymentUnitDir du,
TDeployment.Process pinfo,
java.util.Date deployDate,
java.util.Map<javax.xml.namespace.QName,org.w3c.dom.Node> props,
ProcessState pstate,
EndpointReferenceContext eprContext,
java.io.File configDir)
| Method Detail |
|---|
public java.util.Date getDeployDate()
ProcessConf
getDeployDate in interface ProcessConfpublic java.util.List<java.io.File> getFiles()
ProcessConf
getFiles in interface ProcessConfpublic javax.xml.namespace.QName getProcessId()
ProcessConf
getProcessId in interface ProcessConfpublic javax.xml.namespace.QName getType()
ProcessConf
getType in interface ProcessConfpublic java.lang.String getPackage()
ProcessConf
getPackage in interface ProcessConfpublic java.util.Map<javax.xml.namespace.QName,org.w3c.dom.Node> getProcessProperties()
ProcessConf
getProcessProperties in interface ProcessConfpublic long getVersion()
ProcessConf
getVersion in interface ProcessConfpublic java.io.InputStream getCBPInputStream()
ProcessConf
getCBPInputStream in interface ProcessConfpublic java.lang.String getBpelDocument()
ProcessConf
getBpelDocument in interface ProcessConfpublic java.net.URI getBaseURI()
ProcessConf
getBaseURI in interface ProcessConfpublic ProcessState getState()
ProcessConf
getState in interface ProcessConfpublic void setState(ProcessState state)
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 ProcessConfpublic java.util.Map<java.lang.String,Endpoint> getInvokeEndpoints()
ProcessConf
getInvokeEndpoints in interface ProcessConfpublic java.util.Map<java.lang.String,Endpoint> getProvideEndpoints()
ProcessConf
getProvideEndpoints in interface ProcessConfpublic boolean isSharedService(javax.xml.namespace.QName serviceName)
ProcessConf
isSharedService in interface ProcessConfpublic DeploymentUnitDir getDeploymentUnit()
public boolean isTransient()
ProcessConf
isTransient 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)
ProcessConf
getExtensionElement in interface ProcessConfqname - name of the extension element.
public java.util.Map<java.lang.String,java.lang.String> getEndpointProperties(EndpointReference epr)
ProcessConf
getEndpointProperties in interface ProcessConf
public boolean isCleanupCategoryEnabled(boolean instanceSucceeded,
ProcessConf.CLEANUP_CATEGORY category)
isCleanupCategoryEnabled in interface ProcessConfpublic java.util.Set<ProcessConf.CLEANUP_CATEGORY> getCleanupCategories(boolean instanceSucceeded)
getCleanupCategories in interface ProcessConf
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||