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
|
java.lang.Object |
locateService(java.lang.String name,
java.lang.Class cl)
Locate a service with the specified name. |
locateService
public java.lang.Object locateService(java.lang.String name,
java.lang.Class cl)
throws java.rmi.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.
Copyright © 2002 BEA Systems, Inc. All Rights Reserved