© 2005 BEA Systems, Inc.

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:

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

public 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

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved