AdConflictResolver Interface
- public interface AdConflictResolver
extends EJBObject
The remote bean interface for the AdConflictResolver. Given a set of
possible ads which may be display, this Session EJB will pick an
ad to display.
-
All Superinterfaces
-
EJBObject
, Remote
pickAd(AdInfo[]) Method
public AdInfo
pickAd(AdInfo
[] ads)
throws RemoteException
Resolve which ad query to display.
Parameters
-
ads
- An array of AdInfo objects that are valid
Returns
- the AdInfo that has the "highest priority" from the ads array.
Exceptions
-
RemoteException
pickAd(Node[]) Method
public Node
pickAd(Node
[] ads)
throws RemoteException
Resolve which ad query to display.
Parameters
-
ads
- An array of AdInfo objects that are valid
Returns
- the AdInfo that has the "highest priority" from the ads array.
Exceptions
-
RemoteException