| IBM WebSphere Application ServerTM
Release 6 |
|||||||
PREV NEXT | FRAMES NO FRAMES |
Interface Summary | |
ProcessInstanceActionIndex | This interface defines symbolic constants to be used as a column index for the array of available action flags - see . |
CustomProperty | Provides a named custom property. |
ProcessInstanceActions | This interface defines symbolic constants for all actions that can be performed on process instances. |
BusinessFlowManagerHome | The home interface of the BusinessFlowManager session bean. |
LocalBusinessFlowManagerHome | The home interface of the LocalBusinessFlowManager session bean. |
LocalBusinessFlowManager | LocalBusinessFlowManager is the stateless session bean that represents the local interface. |
EventHandlerTemplateActions | This interface defines symbolic constants for all actions that can be performed on event handler templates. |
ProcessTemplateActions | This interface defines symbolic constants for all actions that can be performed on process templates. |
CompensationBehaviour | This interface defines symbolic constants that state how to deal with compensation. |
LocalBusinessFlowManagerService | LocalBusinessFlowManagerService defines the business functions that can be called by a local client. |
WorkItemActions | This interface defines symbolic constants for all actions that can be performed on work items. |
QueryProperty | Returns the properties of a variable that can be queried. |
ActivityServiceTemplateActions | This interface defines symbolic constants for all actions that can be performed on activity service templates. |
ActivityInstanceActions | This interface defines symbolic constants for all actions that can be performed on activity instances. |
EventHandlerTemplateData | Accesses the properties of an event (action) that can be triggered as part of an active event handler. |
StoredQueryData | Accesses the properties of a query stored persistently. |
CompleteAndClaimSuccessorResult | Returns the result of a completeAndClaimSuccessor() call, that is, a description of the claimed successor activity instance. |
BusinessFlowManagerService | BusinessFlowManagerService defines the business functions that can be called by a local or remote client. |
BusinessFlowManager | BusinessFlowManager is the stateless session bean that represents the remote interface. |
ActivityInstanceActionIndex | This interface defines symbolic constants to be used as a column index for the array of available action flags - see . |
WorkListActions | This interface defines symbolic constants for all actions that can be performed on work lists. |
ActivityServiceTemplateData | Accesses the properties of an activity service. |
WorkItemData | Accesses the properties of a work item. |
WorkListData | Accesses the properties of a worklist. |
ProcessInstanceData | Accesses the properties of a process instance. |
ActivityInstanceData | Accesses the properties of an activity instance. |
ProcessTemplateData | Accesses the properties of a process template. |
StateObserverEvent | This interface returns observer event specific information as there are the event number and the creation time. |
ReplyContext | This interface supports an asynchronous mode of operation. |
QueryResultSet | Provides the results of a query request. |
PortalClientSetting | Interface for Portal client settings. |
JspLocation | Interface to retrieve JSP locations of a Web client setting. |
WebClientSetting | Interface for Web client settings. |
CustomClientSettings | CustomClientSettings defines the interface for all client and Web client settings that are associated with a process template, process instance, or activity instance. |
VTID | Interface for a service template object identifier. |
StaffResultSet | Returns the persons or groups that are members of a specific role. |
PTID | Interface for a process template object identifier. |
PIID | Interface for a process instance object identifier. |
EHTID | Interface for an event handler template object identifier. |
ClientSetting | Interface that supports the definition of user specific client settings. |
ATID | Interface for an activity template object identifier. |
AIID | Interface for an activity instance object identifier. |
OID | Interface for an object identifier. |
Class Summary | |
StoredQueryProperty | Describes a property of a stored query. |
ProcessResponseWrapper | Wraps the output message returned by a microflow and its associated custom client settings. |
ReplyContextWrapper | Wraps the reply context passed to the process engine. |
ClientObjectWrapper | Wraps messages and variables passed between the caller and the process engine. |
ErrorTypeEnum | This enumeration class defines symbolic constants for error types that are found during validation of objects created on-the-flight. |
QueryColumnInfo | Provides information on the columns of a query result set. |
JspUsageEnum | This enumeration class defines symbolic constants for JSP usage patterns. |
JspApplicableRoleEnum | This enumeration class defines symbolic constants for JSP applicable role patterns. |
Exception Summary | |
SpecificFaultReplyException | A SpecificFaultReplyException states that a fault is returned. |
FaultReplyException2 | A FaultReplyException2 states that a modelled fault is returned. |
ApplicationFaultException2 | An ApplicationFaultException2 extends ApplicationFaultException and additionally provides the namespace of the WSDL message that is associated with the thrown fault variable in case the fault variable is represented by a boxed Java simple type. |
ApplicationFaultException | An ApplicationFaultException wraps fault responses from invoke, throw, or script activities. |
WorkItemDoesNotExistException | Exception class for error message Api.WorkItemDoesNotExist. |
UserDoesNotExistException | Exception class for error message Api.UserDoesNotExist. |
InvalidStoredQueryParametersException | Exception class for error message Api.InvalidStoredQueryParameters. |
InvalidParameterException | Exception class for error message Api.InvalidParameter. |
StoredQueryNameNotUniqueException | Exception class for error message Api.StoredQueryNameNotUnique. |
TaskManagerNotFoundException | Exception class for error message Api.TaskManagerNotFound. |
CreateRejectedException | Exception class for error message Api.CreateRejected. |
InvalidMessageTypeException | Exception class for error message Api.InvalidMessageType. |
MultipleInstanceException | Exception class for error message Api.MultipleInstance. |
InvalidPropertyAliasTypeException | Exception class for error message Api.InvalidPropertyAliasType. |
InvalidMessagePartTypeException | Exception class for error message Api.InvalidMessagePartType. |
MessagePartQueryFailedException | Exception class for error message Api.MessagePartQueryFailed. |
MessagePartNotFoundException | Exception class for error message Api.MessagePartNotFound. |
GenericErrorException | Exception class for error message Api.GenericError. |
CannotSendVoidReplyException | Exception class for error message Api.CannotSendVoidReply. |
CannotSendExceptionException | Exception class for error message Api.CannotSendException. |
CannotSendProcessResultException | Exception class for error message Api.CannotSendProcessResult. |
CannotSendPIIDException | Exception class for error message Api.CannotSendPIID. |
DatabaseException | Exception class for error message Api.Database. |
ProcessOperationNotKnownByPortException | Exception class for error message Api.ProcessOperationNotKnownByPort. |
UserRegistryException | Exception class for error message Api.UserRegistry. |
HumanTaskManagerException | Exception class for error message Api.HumanTaskManager. |
FaultReplyException | A FaultReplyException states that a modelled fault is returned. |
ApplicationVetoException | Exception class for error message Api.ApplicationVeto. |
DataHandlingException | Exception class for error message Api.DataHandling. |
ProcessBindingMissingTypeMappingException | Exception class for error message Api.ProcessBindingMissingTypeMapping. |
ProcessBindingMissingFormatTypeException | Exception class for error message Api.ProcessBindingMissingFormatType. |
ProcessOperationFaultNameNotSetException | Exception class for error message Api.ProcessOperationFaultNameNotSet. |
ProcessOperationCannotFindModelException | Exception class for error message Api.ProcessOperationCannotFindModel. |
ProcessOperationCannotInvokeException | Exception class for error message Api.ProcessOperationCannotInvoke. |
ProcessOperationUnknownFaultMessageTypeException | Exception class for error message Api.ProcessOperationUnknownFaultMessageType. |
ProcessOperationMissingFaultMessageException | Exception class for error message Api.ProcessOperationMissingFaultMessage. |
ProcessOperationFailedException | Exception class for error message Api.ProcessOperationFailed. |
ProcessOperationNoOutputMessageException | Exception class for error message Api.ProcessOperationNoOutputMessage. |
ProcessInputUnknownTypeSystemException | Exception class for error message Api.ProcessInputUnknownTypeSystem. |
ProcessInputTypeNameNullException | Exception class for error message Api.ProcessInputTypeNameNull. |
ProcessInputTypeSystemNullException | Exception class for error message Api.ProcessInputTypeSystemNull. |
ExecuteInputOnlyOperation_NotSupportedException | Exception class for error message Api.ExecuteInputOnlyOperation_NotSupported. |
CouldNotCreateWSIFPort_ProcessException | Exception class for error message Api.CouldNotCreateWSIFPort_Process. |
NoMacroFlowException | Exception class for error message Api.NoMacroFlow. |
ProcessInstanceNotUniqueException | Exception class for error message Api.ProcessInstanceNotUnique. |
MissingPartsException | Exception class for error message Api.MissingParts. |
CreateFailedException | Exception class for error message Api.CreateFailed. |
CannotAccessObjectException | Exception class for error message Api.CannotAccessObject. |
IdAndCorrelationSetMismatchException | Exception class for error message Api.IdAndCorrelationSetMismatch. |
MethodNotApplicableException | Exception class for error message Api.MethodNotApplicable. |
ActivityNameNotUniqueException | Exception class for error message Api.ActivityNameNotUnique. |
ServiceNotUniqueException | Exception class for error message Api.ServiceNotUnique. |
InvalidLengthException | Exception class for error message Api.InvalidLength. |
CannotDeleteNamespaceException | Exception class for error message Api.CannotDeleteNamespace. |
InvalidObjectNameException | Exception class for error message Api.InvalidObjectName. |
QueryUndefinedParameterException | Exception class for error message Api.QueryUndefinedParameter. |
QueryInvalidOperandException | Exception class for error message Api.QueryInvalidOperand. |
ImplementationNotFoundException | Exception class for error message Api.ImplementationNotFound. |
ProcessTemplateNotFoundException | Exception class for error message Api.ProcessTemplateNotFound. |
TemplateInUseException | Exception class for error message Api.TemplateInUse. |
QueryInvalidTimestampException | Exception class for error message Api.QueryInvalidTimestamp. |
QueryUnknownOperatorException | Exception class for error message Api.QueryUnknownOperator. |
QueryUnknownColumnException | Exception class for error message Api.QueryUnknownColumn. |
EngineCreateServiceReferenceException | Exception class for error message Engine.CreateServiceReference. |
EngineConflictingProcessException | Exception class for error message Engine.ConflictingProcess. |
EngineForEachExpressionEvaluationException | Exception class for error message Engine.ForEachExpressionEvaluation. |
EngineInstanceLocationFailureException | Exception class for error message Engine.InstanceLocationFailure. |
QueryUnknownTableException | Exception class for error message Api.QueryUnknownTable. |
EngineEventHandlerCorrelationHandlingFailureException | Exception class for error message Engine.EventHandlerCorrelationHandlingFailure. |
EngineActivityCorrelationHandlingFailureException | Exception class for error message Engine.ActivityCorrelationHandlingFailure. |
EngineCannotResolveReplacementStringException | Exception class for error message Engine.CannotResolveReplacementString. |
EngineCannotResolveEndpointException | Exception class for error message Engine.CannotResolveEndpoint. |
EngineUnknownActivityException | Exception class for error message Engine.UnknownActivity. |
EngineAmbiguousActivityException | Exception class for error message Engine.AmbiguousActivity. |
EngineServiceNotAuthorizedException | Exception class for error message Engine.ServiceNotAuthorized. |
EngineActivityNotAuthorizedException | Exception class for error message Engine.ActivityNotAuthorized. |
EngineProcessNotAuthorizedException | Exception class for error message Engine.ProcessNotAuthorized. |
EngineProcessWrongKindException | Exception class for error message Engine.ProcessWrongKind. |
EngineActivityWrongKindException | Exception class for error message Engine.ActivityWrongKind. |
EngineProcessWrongBuildVersionException | Exception class for error message Engine.ProcessWrongBuildVersion. |
EngineProcessWrongStateException | Exception class for error message Engine.ProcessWrongState. |
EngineActivityWrongStateException | Exception class for error message Engine.ActivityWrongState. |
EngineUncheckedBusinessFaultException | Exception class for error message Engine.UncheckedBusinessFault. |
EngineWrongTaskTemplateException | Exception class for error message Engine.WrongTaskTemplate. |
EngineWrongActivityNameException | Exception class for error message Engine.WrongActivityName. |
EngineCopyDataObjectError | Exception class for error message Engine.CopyDataObject. |
EngineCreateDataObjectError | Exception class for error message Engine.CreateDataObject. |
EngineGetTypeError | Exception class for error message Engine.GetType. |
EngineNullMessageException | Exception class for error message Engine.NullMessage. |
EngineAmbiguousPropertyDefinitionException | Exception class for error message Engine.AmbiguousPropertyDefinition. |
EngineTimeoutExpressionEvaluationInEventHandlerException | Exception class for error message Engine.TimeoutExpressionEvaluationInEventHandler. |
EngineInvalidDurationInEventHandlerException | Exception class for error message Engine.InvalidDurationInEventHandler. |
EngineNoServiceRefTypeException | Exception class for error message Engine.NoServiceRefType. |
EngineBaseClassNotFoundException | Exception class for error message Engine.BaseClassNotFound. |
EngineRepeatedCompensationExceptionException | Exception class for error message Engine.RepeatedCompensationException. |
EngineGenericErrorException | Exception class for error message Engine.GenericError. |
EngineActivityDoesNotExistException | Exception class for error message Engine.ActivityDoesNotExist. |
EngineProcessDoesNotExistException | Exception class for error message Engine.ProcessDoesNotExist. |
EngineProcessReaderWorkItemException | Exception class for error message Engine.ProcessReaderWorkItem. |
EngineLastAdminWorkItemException | Exception class for error message Engine.LastAdminWorkItem. |
EngineEverybodyWorkItemException | Exception class for error message Engine.EverybodyWorkItem. |
EngineCannotDeserializeReplyContextException | Exception class for error message Engine.CannotDeserializeReplyContext. |
EngineNoInitialReceiveException | Exception class for error message Engine.NoInitialReceive. |
EngineConditionEvaluationException | Exception class for error message Engine.ConditionEvaluation. |
EngineIncompatibleTypesException | Exception class for error message Engine.IncompatibleTypes. |
EngineProcessStarterDeletedException | Exception class for error message Engine.ProcessStarterDeleted. |
EngineInvalidCompensationSphereDescriptorException | Exception class for error message Engine.InvalidCompensationSphereDescriptor. |
EngineAssignmentFailureExceptionException | Exception class for error message Engine.AssignmentFailureException. |
EngineLookupProcessBeanError | Exception class for error message Engine.LookupProcessBean. |
EngineInvalidDurationException | Exception class for error message Engine.InvalidDuration. |
EngineInvalidNamespaceURIException | Exception class for error message Engine.InvalidNamespaceURI. |
EngineJmsApiContextException | Exception class for error message Engine.JmsApiContext. |
EngineTimeoutExpressionEvaluationException | Exception class for error message Engine.TimeoutExpressionEvaluation. |
EngineLinkConditionEvaluationException | Exception class for error message Engine.LinkConditionEvaluation. |
EngineJoinConditionEvaluationException | Exception class for error message Engine.JoinConditionEvaluation. |
EngineParentProcessContextException | Exception class for error message Engine.ParentProcessContext. |
EngineRollbackOnlyError | Exception class for error message Engine.RollbackOnly. |
EngineInvalidReplacementVariableException | Exception class for error message Engine.InvalidReplacementVariable. |
EngineErrorInDescriptionResolutionException | Exception class for error message Engine.ErrorInDescriptionResolution. |
EngineActivityStoppedException | Exception class for error message Engine.ActivityStopped. |
EngineCompensationNotSupportedException | Exception class for error message Engine.CompensationNotSupported. |
EngineCannotUnwrapReplyContextException | Exception class for error message Engine.CannotUnwrapReplyContext. |
EngineParameterNullException | Exception class for error message Engine.ParameterNull. |
EngineSchedulerException | Exception class for error message Engine.Scheduler. |
EngineCalendarNotFoundException | Exception class for error message Engine.CalendarNotFound. |
EngineDurationFormatException | Exception class for error message Engine.DurationFormat. |
EngineSchedulerNotFoundException | Exception class for error message Engine.SchedulerNotFound. |
EngineCannotOpenCompensationSphereException | Exception class for error message Engine.CannotOpenCompensationSphere. |
EngineCompensationSphereStateUnknownError | Exception class for error message Engine.CompensationSphereStateUnknown. |
EngineCompensationSphereNotCompletedError | Exception class for error message Engine.CompensationSphereNotCompleted. |
EngineCompensationSphereRequiredException | Exception class for error message Engine.CompensationSphereRequired. |
EngineProcessModelStoppedException | Exception class for error message Engine.ProcessModelStopped. |
EngineCustomAttributeAccessViolationException | Exception class for error message Engine.CustomAttributeAccessViolation. |
EngineImplementationDoesNotExistException | Exception class for error message Engine.ImplementationDoesNotExist. |
EngineSubProcessHasNoMatchingEventException | Exception class for error message Engine.SubProcessHasNoMatchingEvent. |
EngineProcessInstanceNameNotUniqueException | Exception class for error message Engine.ProcessInstanceNameNotUnique. |
EngineDuplicateAwaitedEventException | Exception class for error message Engine.DuplicateAwaitedEvent. |
EngineEventNotKnownException | Exception class for error message Engine.EventNotKnown. |
EngineExitConditionFailedException | Exception class for error message Engine.ExitConditionFailed. |
EngineAdministratorCannotBeResolvedException | Exception class for error message Engine.AdministratorCannotBeResolved. |
EngineVariableDoesNotExistException | Exception class for error message Engine.VariableDoesNotExist. |
EngineAuthorizationPluginException | Exception class for error message Engine.AuthorizationPlugin. |
EngineIncompleteUserInputException | Exception class for error message Engine.IncompleteUserInput. |
EngineDataPluginException | Exception class for error message Engine.DataPlugin. |
EngineCannotInitializeWorkItemManagerException | Exception class for error message Engine.CannotInitializeWorkItemManager. |
EngineCannotDeleteProcessException | Exception class for error message Engine.CannotDeleteProcess. |
EngineCannotCreateWorkItemException | Exception class for error message Engine.CannotCreateWorkItem. |
EngineCannotInitializeVariableException | Exception class for error message Engine.CannotInitializeVariable. |
EngineInvalidFaultTerminalException | Exception class for error message Engine.InvalidFaultTerminal. |
EngineFaultTerminalMessageIsNullException | Exception class for error message Engine.FaultTerminalMessageIsNull. |
EngineCannotRunInAtomicSphereException | Exception class for error message Engine.CannotRunInAtomicSphere. |
EngineFaultTerminalNotConnectedException | Exception class for error message Engine.FaultTerminalNotConnected. |
EngineMaxNumberLoopIterationsExceededException | Exception class for error message Engine.MaxNumberLoopIterationsExceeded. |
EngineCannotRunInterruptibleException | Exception class for error message Engine.CannotRunInterruptible. |
EngineCannotRunSynchronousException | Exception class for error message Engine.CannotRunSynchronous. |
ProcessError | This is the base class for all Business Flow Manager runtime exceptions. |
EngineStateObserverEventError | Exception class for error message Engine.StateObserverEvent. |
EngineWrongMessageTypeException | Exception class for error message Engine.WrongMessageType. |
EngineLoopDefaultMappingException | Exception class for error message Engine.LoopDefaultMapping. |
EngineLoopMappingException | Exception class for error message Engine.LoopMapping. |
EngineExitConditionEvaluationException | Exception class for error message Engine.ExitConditionEvaluation. |
EngineLoopConditionEvaluationException | Exception class for error message Engine.LoopConditionEvaluation. |
EngineTransitionConditionEvaluationException | Exception class for error message Engine.TransitionConditionEvaluation. |
EngineDataMappingException | Exception class for error message Engine.DataMapping. |
EngineCannotInitializePluginException | Exception class for error message Engine.CannotInitializePlugin. |
EngineMaxNumberRetryExceededException | Exception class for error message Engine.MaxNumberRetryExceeded. |
EngineImplementationInvocationException | Exception class for error message Engine.ImplementationInvocation. |
EngineUncaughtExceptionInActivityException | Exception class for error message Engine.UncaughtExceptionInActivity. |
EngineProcessModelDoesNotExistException | Exception class for error message Engine.ProcessModelDoesNotExist. |
ObjectDoesNotExistException | Exception class for error message Api.ObjectDoesNotExist. |
IdWrongTypeException | Exception class for error message Api.IdWrongType. |
IdWrongFormatException | Exception class for error message Api.IdWrongFormat. |
UnexpectedFailureException | Exception class for error message Api.UnexpectedFailure. |
InvalidParameterValueException | Exception class for error message Api.InvalidParameterValue. |
WorkItemManagerException | A general non-recoverable exception that occured with Work Item Management functions. |
StandardFaultException | Super class for all BPEL standard faults such as bpws:forceTermination. |
SendReplyErrorException | Represents the exception that is thrown by ReplyContext methods if sending the reply generates an error. |
RuntimeFaultException | RuntimeFaultException wraps all runtime failures that can happen during the execution of BPEL processes, for example, when executing a script activity or when evaluating a transition condition. |
NotSerializableException | NotSerializableException is basically a placeholder for nested exceptions that serialization fails. |
EngineMissingReplyException | An EngineMisssingReplyException is thrown when the process instance ends and when there is a reply missing for a receive or pick activity that implements a two-way operation. |
SystemFaultException | Defines an exception which is thrown when during the execution of an activity or the invocation of a plug-in (except the observer plug-in), Process Choreographer itself runs into an error situation. |
EngineMissingReceiveException | An EngineMisssingReceiveException is thrown when a message has been received and stored by Process Choreographer and when that message has not been processed before the completion of the process instance for which it was received. |
ProcessException | This is the base class for all exceptions thrown by the Business Flow Manager EJB API. |
BpelException | Super class for all navigation related exceptions that can occur during the execution of BPEL processes. |
Provides the application programming interface (API) for managing process-related objects in the ProcessChoreographer Business Flow Manager. You can create application programs that use the API to manage runtime information related to processes. You can:
The API contains a stateless session bean BusinessFlowManager for local and remote access. The BusinessFlowManagerService interface describes the functions that can be called locally and remotely. It exposes the functions that can be called by an application program. The application program can be any Java program, including another EJB.
The application program accesses the BusinessFlowManager session bean through the bean's home and remote or local interfaces. A reference must be added to your application deployment descriptor. For example, for client applications such as a J2EE client application add the reference to the application-client.xml, for a Web application to the web.xml, and for an EJB application to the ejb-jar.xml.
Add the reference to the remote interface as in the following example:
<ejb-ref> <ejb-ref-name>ejb/BusinessFlowManagerHome</ejb-ref-name> <ejb-ref-type>Session<ejb-ref-type> <home>com.ibm.bpe.api.BusinessFlowManagerHome</home> <remote>com.ibm.bpe.api.BusinessFlowManager</remote> </ejb-ref>
Add the reference to the local interface as in the following example:
<ejb-local-ref> <ejb-ref-name>ejb/LocalBusinessFlowManagerHome</ejb-ref-name> <ejb-ref-type>Session<ejb-ref-type> <local-home>com.ibm.bpe.api.LocalBusinessFlowManagerHome</local-home> <local>com.ibm.bpe.api.LocalBusinessFlowManager</local> </ejb-local-ref>
If you use WebSphere Integration Developer to add the EJB reference to the deployment descriptor, the binding for the EJB reference is automatically created when the application is deployed.
If your application runs on a different Java Virtual Machine (JVM) from the one where the BPEContainer application runs, complete the following actions:
The BusinessFlowManager home interface is then made available to the client through JNDI by the container where the BusinessFlowManager session bean is deployed. To access the remote interface:
// Obtain the default initial JNDI context Context initialContext= new InitialContext(); // Lookup the remote home interface of the BusinessFlowManager bean Object result= initialContext.lookup("java:comp/env/ejb/BusinessFlowManagerHome"); // Convert the lookup result to the proper type BusinessFlowManagerHome processHome= (BusinessFlowManagerHome)javax.rmi.PortableRemoteObject.narrow(result,BusinessFlowManagerHome.class);To access the local interface:
// Obtain the default initial JNDI context Context initialContext= new InitialContext(); // Lookup the local home interface of the BusinessFlowManager bean LocalBusinessFlowManagerHome processHome= (LocalBusinessFlowManagerHome)initialContext.lookup("java:comp/env/ejb/LocalBusinessFlowManagerHome");
The home interface contains a create method that returns the BusinessFlowManager session bean's remote or local interface. For example, access the remote interface of the session bean:
BusinessFlowManager process= processHome.create();For example, access the local interface of the session bean:
LocalBusinessFlowManager process= processHome.create();
When the BusinessFlowManager session bean is accessed, the application program can call any of the business functions exposed by the API. For example:
process.initiate("MyProcessModel",input);
When an instance of the BusinessFlowManager session bean is created, the container associates a context with the instance of the session bean. The context contains the caller's principal ID, a group membership list, and indicates whether the caller has one of the Business Flow Manager J2EE roles, that is, whether the caller belongs to the group of BPE system administrators or monitors. The context is used by both the container and the process engine to check the caller's authorization for each call even when global security is not set. If global security is not set, the caller's principal ID has the value 'UNAUTHENTICATED'.
Calls from applications are run as transactions. A transaction is either established and ended explicitly by the application program, or established by the container when the application progam calls the process engine and ended by the container when the application program receives the result (the deployment descriptor specifies TX_REQUIRED). For example, the application program can establish and end a transaction as follows:
// Obtain user transaction interface UserTransaction transaction= (UserTransaction)intialContext.lookup("jta/usertransaction"); // Begin a transaction transaction.begin(); // Process calls ... // On successful return, commit the transaction transaction.commit();Design your own transactions to prevent database deadlocks when multiple transaction instances are run concurrently. For example, avoid running statements similar to the following in parallel:
UserTransaction transaction= (UserTransaction)intialContext.lookup("jta/usertransaction"); transaction.begin(); process.getActivityInstance(aiid); // read-locks the activity process.claim(aiid); // write-locks the activity to update the state transaction.commit();
| IBM WebSphere Application ServerTM
Release 6 |
|||||||
PREV NEXT | FRAMES NO FRAMES |