com.sri.common.controller
Interface ComponentServiceLocator

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractComponentController, AddNodeAction, CompletionEditor, CompletionWizardAction, ComponentSchema, CreationEditor, CreationWizardAction, EmoSchema, NodeAction, NodeController, NodeTagController, WizardAction, WizardController, WizardGatewayController

public interface ComponentServiceLocator
extends Serializable

Helps locate services/other objects.

Version:
1.0
Author:
Michael Rimov

Method Summary
 Object locate(Object serviceKey)
          Retrieves the desired service defined by the key.
 

Method Detail

locate

Object locate(Object serviceKey)
              throws NoSuchServiceException,
                     IllegalArgumentException
Retrieves the desired service defined by the key.

Parameters:
serviceKey - Object usually the service interface class, but may be other object.
Returns:
Object.
Throws:
NoSuchServiceException - if unable to locate the service.
IllegalArgumentException - if service key is null.


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.