org.apache.agila.services.rendezvous
Interface RendezvousService

All Known Implementing Classes:
AbstractRendezvousService, RendezvousServiceImpl

public interface RendezvousService

Service to handle rendezvous/milestone/synch services

Version:
$Id: $
Author:
Geir Magnusson Jr.

Method Summary
 boolean nodeNotification(TokenID token, RendezvousPolicyInfo policy)
          Notfies the RendezvousService that a token has reached a RendezvousNode
 boolean registerInstanceStart(InstanceID instanceID)
          Registers an instance when one begins.
 RendezvousRegistration registerProcessRendezvous(BusinessProcessID procid, RendezvousPolicyInfo policy)
          Registers a policy for a given business process.
 

Method Detail

registerProcessRendezvous

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.

Parameters:
procid -
policy -
Returns:
Throws:
RendezvousException

registerInstanceStart

boolean registerInstanceStart(InstanceID instanceID)
                              throws RendezvousException
Registers an instance when one begins. Used by the InstanceService.

Parameters:
instanceID -
Returns:
Throws:
RendezvousException

nodeNotification

boolean nodeNotification(TokenID token,
                         RendezvousPolicyInfo policy)
Notfies the RendezvousService that a token has reached a RendezvousNode

Parameters:
token -
policy -
Returns:
true if processing should continue, false if node must wait for external notification


Copyright © 2004-2005 The Apache Software Foundation. All Rights Reserved.