org.springframework.richclient.application.support
Class StaticApplicationServices

java.lang.Object
  extended by org.springframework.richclient.application.support.StaticApplicationServices
All Implemented Interfaces:
ApplicationServices

public class StaticApplicationServices
extends Object
implements ApplicationServices


Constructor Summary
StaticApplicationServices()
           
 
Method Summary
 boolean containsService(Class serviceType)
          Determine if a service of the requested type is available.
 Object getService(Class serviceType)
          Returns the application service of the requested type (class).
 void registerService(Object service, Class serviceInterface)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticApplicationServices

public StaticApplicationServices()
Method Detail

getService

public Object getService(Class serviceType)
Description copied from interface: ApplicationServices
Returns the application service of the requested type (class).

Specified by:
getService in interface ApplicationServices
Parameters:
serviceType - Type of service to locate
Returns:
A service implementation of the requested type. Never null.

containsService

public boolean containsService(Class serviceType)
Description copied from interface: ApplicationServices
Determine if a service of the requested type is available.

Specified by:
containsService in interface ApplicationServices
Parameters:
serviceType - Type of service to locate
Returns:
true if service is available, false if not

registerService

public void registerService(Object service,
                            Class serviceInterface)


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.