org.jasig.portlet.emailpreview.service.link
Class LinkServiceRegistryImpl

java.lang.Object
  extended by org.jasig.portlet.emailpreview.service.link.LinkServiceRegistryImpl
All Implemented Interfaces:
ILinkServiceRegistry

@Component
public class LinkServiceRegistryImpl
extends Object
implements ILinkServiceRegistry

LinkServiceRegistryImpl provides the default implementation of ILinkServiceRegistry.

Version:
$Revision: 20529 $
Author:
Jen Bourey, jbourey@unicon.net

Constructor Summary
LinkServiceRegistryImpl()
           
 
Method Summary
 IEmailLinkService getEmailLinkService(String key)
          Return an instance of the link service associated with the supplied key.
 Collection<IEmailLinkService> getServices()
          Return a list of all currently-registered link services.
 void registerService(IEmailLinkService linkService)
          Register a link service.
 void setServices(Collection<IEmailLinkService> services)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkServiceRegistryImpl

public LinkServiceRegistryImpl()
Method Detail

setServices

public void setServices(Collection<IEmailLinkService> services)
Parameters:
services -

getEmailLinkService

public IEmailLinkService getEmailLinkService(String key)
Description copied from interface: ILinkServiceRegistry
Return an instance of the link service associated with the supplied key. If no matching link service can be found, this method will return null.

Specified by:
getEmailLinkService in interface ILinkServiceRegistry
Returns:

getServices

public Collection<IEmailLinkService> getServices()
Description copied from interface: ILinkServiceRegistry
Return a list of all currently-registered link services.

Specified by:
getServices in interface ILinkServiceRegistry
Returns:

registerService

public void registerService(IEmailLinkService linkService)
Description copied from interface: ILinkServiceRegistry
Register a link service.

Specified by:
registerService in interface ILinkServiceRegistry


Copyright © 2010 Jasig. All Rights Reserved.