Skip navigation links
com.essbase.eas.framework.server.application
Class DefaultServiceManager
java.lang.Object
com.essbase.eas.framework.server.application.DefaultServiceManager
- All Implemented Interfaces:
- ServiceManager
-
public class DefaultServiceManager
- extends java.lang.Object
- implements ServiceManager
The DefaultServiceManager
class is used by the default application implementation to create a service context, connect it to the service manager, create the application builder service, script service, and store service objects for the appliation and place them all in the service context.
- Since:
- 6.5.2
- Version:
- 6.5.2, 10/01/02
- Author:
- Hank Cox, Painted Word
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultServiceManager
public DefaultServiceManager()
- constructs a
ServiceManager
object with no arguments.
createContext
public static ServiceContext createContext()
- Creates a
ServiceContext
object and places a default service manager object into it.
-
- Returns:
- an initialized
ServiceContext
object.
createServices
public void createServices()
- Creates and binds services for a
DefaultServiceManager
object.
-
- Specified by:
createServices
in interface ServiceManager
-
- Parameters:
manager
- - the service manager to create bindings for.
getServiceManager
public static DefaultServiceManager getServiceManager(ServiceContext context)
lookupService
public static FrameworkService lookupService(java.lang.String serviceName,
ServiceContext context)
throws ServiceException
-
- Throws:
ServiceException
bindService
public boolean bindService(java.lang.String name,
FrameworkService service)
-
- Specified by:
bindService
in interface ServiceManager
releaseService
public boolean releaseService(java.lang.String name)
-
- Specified by:
releaseService
in interface ServiceManager
lookupService
public FrameworkService lookupService(java.lang.String name)
-
- Specified by:
lookupService
in interface ServiceManager
dispatchRequest
public java.lang.Object dispatchRequest(java.lang.String uri,
ServiceContext context)
throws ServiceException
-
- Specified by:
dispatchRequest
in interface ServiceManager
-
- Throws:
ServiceException
dispatchRequest
public java.lang.Object dispatchRequest(ServiceRequest request,
ServiceContext context)
throws ServiceException
-
- Specified by:
dispatchRequest
in interface ServiceManager
-
- Throws:
ServiceException
Skip navigation links
Copyright © 2001, 2007, Oracle. All rights reserved.