© 2005 BEA Systems, Inc.

com.bea.p13n.ad
Interface AdConflictResolver

All Superinterfaces:
EJBObject, Remote

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.


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

Method Detail

pickAd

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

pickAd

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

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved