Skip navigation links


com.essbase.eas.framework.server.application
Class DefaultServiceManager

java.lang.Object
  extended by 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

Constructor Summary
DefaultServiceManager()
          constructs a ServiceManager object with no arguments.

 

Method Summary
 boolean bindService(java.lang.String name, FrameworkService service)
           
static ServiceContext createContext()
          Creates a ServiceContext object and places a default service manager object into it.
 void createServices()
          Creates and binds services for a DefaultServiceManager object.
 java.lang.Object dispatchRequest(ServiceRequest request, ServiceContext context)
           
 java.lang.Object dispatchRequest(java.lang.String uri, ServiceContext context)
           
static DefaultServiceManager getServiceManager(ServiceContext context)
           
 FrameworkService lookupService(java.lang.String name)
           
static FrameworkService lookupService(java.lang.String serviceName, ServiceContext context)
           
 boolean releaseService(java.lang.String name)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

DefaultServiceManager

public DefaultServiceManager()
constructs a ServiceManager object with no arguments.

Method Detail

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, 2012, Oracle. All rights reserved.