org.springframework.richclient.application.support
Class StaticApplicationServices
java.lang.Object
org.springframework.richclient.application.support.StaticApplicationServices
- All Implemented Interfaces:
- ApplicationServices
public class StaticApplicationServices
- extends Object
- implements ApplicationServices
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaticApplicationServices
public StaticApplicationServices()
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.