javax.activity
Interface ActivityManager
- All Superinterfaces:
- UserActivity
- All Known Implementing Classes:
- ActivityService
- public interface ActivityManager
- extends UserActivity
Methods inherited from interface javax.activity.UserActivity |
begin, broadcast, complete, completeWithStatus, forget, getCompletionStatus, getCoordinator, getGlobalId, getName, getParentCoordinator, getPropertyGroup, getService, getStatus, getTimeout, recover, recreate, registerService, setCompletionStatus, setTimeout |
suspend
public ActivityToken suspend()
throws ServiceNotRegisteredException,
SystemException
- Throws:
ServiceNotRegisteredException
SystemException
resume
public void resume(ActivityToken activity)
throws InvalidActivityException,
InvalidParentContextException,
ServiceNotRegisteredException,
SystemException
- Throws:
InvalidActivityException
InvalidParentContextException
ServiceNotRegisteredException
SystemException
suspendGroup
public ActivityToken suspendGroup()
throws ServiceNotRegisteredException,
SystemException
- Throws:
ServiceNotRegisteredException
SystemException
resumeGroup
public void resumeGroup(ActivityToken activity)
throws InvalidActivityException,
InvalidParentContextException,
ServiceNotRegisteredException,
SystemException
- Throws:
InvalidActivityException
InvalidParentContextException
ServiceNotRegisteredException
SystemException
suspendAll
public ActivityToken suspendAll()
throws ServiceNotRegisteredException,
SystemException
- Throws:
ServiceNotRegisteredException
SystemException
resumeAll
public void resumeAll(ActivityToken activity)
throws InvalidActivityException,
InvalidParentContextException,
ServiceNotRegisteredException,
SystemException
- Throws:
InvalidActivityException
InvalidParentContextException
ServiceNotRegisteredException
SystemException
hibernate
public GlobalId hibernate()
throws ServiceNotRegisteredException,
InvalidActivityException,
SystemException
- Throws:
ServiceNotRegisteredException
InvalidActivityException
SystemException
reactivate
public void reactivate(GlobalId globalId)
throws ActivityCompletedException,
InvalidParentContextException,
ServiceNotRegisteredException,
SystemException
- Throws:
ActivityCompletedException
InvalidParentContextException
ServiceNotRegisteredException
SystemException
linkActivityToId
public void linkActivityToId(java.lang.String id,
ActivityCoordinator activity)
disassociateActivityFromCurrentThread
public ActivityCoordinator disassociateActivityFromCurrentThread()
associateActivityToCurrentThread
public void associateActivityToCurrentThread(ActivityCoordinator activity)