org.apache.agila.services.rendezvous
Class AbstractRendezvousService
java.lang.Object
org.apache.agila.services.rendezvous.AbstractRendezvousService
- All Implemented Interfaces:
- RendezvousService
- Direct Known Subclasses:
- RendezvousServiceImpl
public abstract class AbstractRendezvousService
- extends java.lang.Object
- implements RendezvousService
- Version:
- $Id: $
- Author:
- Geir Magnusson Jr.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instanceService
protected InstanceService instanceService
logService
protected LogService logService
AbstractRendezvousService
public AbstractRendezvousService()
setInstanceService
public void setInstanceService(InstanceService isvc)
setLogService
public void setLogService(LogService svc)
registerProcessRendezvous
public RendezvousRegistration registerProcessRendezvous(BusinessProcessID procid,
RendezvousPolicyInfo policy)
throws RendezvousException
- Registers a policy for a given business process.
Used by thhe BusinessProcessService to register all policies of a
process.
- Specified by:
registerProcessRendezvous
in interface RendezvousService
- Parameters:
procid
- policy
-
- Returns:
-
- Throws:
RendezvousException
registerInstanceStart
public boolean registerInstanceStart(InstanceID instanceID)
throws RendezvousException
- Registers an instance when one begins. Used by the
InstanceService.
- Specified by:
registerInstanceStart
in interface RendezvousService
- Parameters:
instanceID
-
- Returns:
-
- Throws:
RendezvousException
nodeNotification
public boolean nodeNotification(TokenID token,
RendezvousPolicyInfo policy)
- Notfies the RendezvousService that a token has reached a RendezvousNode
- Specified by:
nodeNotification
in interface RendezvousService
- Parameters:
token
- policy
-
- Returns:
- true if processing should continue, false if node must wait for
external notification
getBusProcInfo
public abstract BusProcInfo getBusProcInfo(BusinessProcessID id,
boolean createNew)
Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.