org.gridbus.broker.common.discovery
Interface ServiceFinderCallback


public interface ServiceFinderCallback

ServiceFinderCallback provides the way to use callback method for ServiceFinder

Version:
1.0
Author:
Xingchen Chu

Method Summary
 Service[] lookup(java.lang.Object callbackContext)
          The lookup method is used to locate the services by checking context information
 void setUserCredential(UserCredential cred)
          set the credential needed by the service finder callback instance
 

Method Detail

lookup

Service[] lookup(java.lang.Object callbackContext)
The lookup method is used to locate the services by checking context information

Parameters:
callbackContext -
Returns:

setUserCredential

void setUserCredential(UserCredential cred)
                       throws GridBrokerException
set the credential needed by the service finder callback instance

Parameters:
cred -
Throws:
GridBrokerException

Copyright © The University of Melbourne. 2006