Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 BEA Systems, Inc. All Rights Reserved