com.bea.p13n.ad
Interface AdConflictResolver


public interface AdConflictResolver

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.


Method Summary
 AdInfo pickAd(AdInfo[] ads)
          Resolve which ad query to display.
 Node pickAd(Node[] ads)
          Resolve which ad query to display.
 

Method Detail

pickAd

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.
Throws
RemoteException

pickAd

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.
Throws
RemoteException


Copyright © 2006 BEA Systems, Inc. All Rights Reserved