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

## com.bea.campaign
Interface ServiceLocator

All Known Subinterfaces:
  ScenarioService

    public interface ServiceLocator

A helper interface for an object which can locate services.

This will be used by the ScenarioService to tell Actions where to find services to perform the actions. The common service names will be:

- CampaignService
- ScenarioService
- AdService
- AdBucketService
- MailService
- DiscountAssociationMgr (commerce server only)
- RulesManager
- EventService

Other service names can be configured in the ScenarioService's deployment descriptor.

Method Summary
`Object` | `locateService(String name, Class cl)` Locate a service with the specified name.

Method Detail

### locateService

    Object locateService(String name,
                         Class cl)
                         throws RemoteException

  Locate a service with the specified name.

  Parameters
    `name` - the service name.
    `cl` - the class the service must implement (null for any).
  Returns
    the service on success, null on any sort of failure.
  Throws
    `RemoteException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 BEA Systems, Inc. All Rights Reserved