AdConflictResolver Interface

com.bea.p13n.ad
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

Method Summary

public AdInfo
pickAd(AdInfo[] ads)
Resolve which ad query to display.
public Node
pickAd(Node[] ads)
Resolve which ad query to display.
 
Methods from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
   

Method Detail

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