Skip navigation links
com.essbase.eas.framework.server.defs
Class AbstractService
java.lang.Object
com.essbase.eas.framework.server.defs.AbstractService
- All Implemented Interfaces:
- FrameworkService
- Direct Known Subclasses:
- DefaultApplicationBuilderService, DefaultScriptService, DefaultStoreService
-
public abstract class AbstractService
- extends java.lang.Object
- implements FrameworkService
The AbstractService
class extends the FrameworkService
interface and provides an implementation of some, but not all, of the FrameworkService methods.
- Since:
- 6.5.2
- Version:
- 6.5.2, 10/01/02
- Author:
- Hank Cox, Painted Word
Constructor Summary |
protected |
AbstractService()
constructs an AbstractService object with no name. |
Method Summary |
protected void |
buildMethodMap()
Constructs a map of methods in this class that take the following parameter types:
ServiceRequest ServiceContext
|
protected java.lang.reflect.Method |
getMethod(java.lang.String value)
Returns a Method object in this class that takes the following parameter types:
ServiceRequest ServiceContext |
java.lang.Object |
handleRequest(ServiceRequest request, ServiceContext context)
Handles a request of this service. |
java.lang.Object |
handleRequest(java.lang.String uri, ServiceContext context)
Handles a request of this service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractService
protected AbstractService()
- constructs an
AbstractService
object with no name.
handleRequest
public java.lang.Object handleRequest(java.lang.String uri,
ServiceContext context)
throws ServiceException
- Handles a request of this service. Creates a new
ServiceRequest
object from the uniform resource indicator and calls the other handleRequest
method.
-
- Specified by:
handleRequest
in interface FrameworkService
-
- Parameters:
uri
- - //@@todo:
context
- - the service context.
- Returns:
- //@@todo:
- Throws:
ServiceException
handleRequest
public java.lang.Object handleRequest(ServiceRequest request,
ServiceContext context)
throws MalformedRequestException,
ServiceException
- Handles a request of this service.
-
- Specified by:
handleRequest
in interface FrameworkService
-
- Parameters:
request
- - //@@todo:
context
- - //@@todo:
- Returns:
- //@@todo
- Throws:
ServiceException
MalformedRequestException
getMethod
protected java.lang.reflect.Method getMethod(java.lang.String value)
- Returns a
Method
object in this class that takes the following parameter types:
ServiceRequest
ServiceContext
-
- Parameters:
value
- - the name of the method trying to locate
- Returns:
- the method in this class matching the name and signature.
buildMethodMap
protected void buildMethodMap()
- Constructs a map of methods in this class that take the following parameter types:
ServiceRequest
ServiceContext
Skip navigation links
Copyright © 2001, 2007, Oracle. All rights reserved.