Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright © 2000, 2009, Oracle and/or its affiliates. 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 © 2000, 2009, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.