org.apache.lucene.gdata.hivemind.webservice
Class HessianSkeletonProviderImpl

java.lang.Object
  extended by org.apache.lucene.gdata.hivemind.webservice.HessianSkeletonProviderImpl
All Implemented Interfaces:
HessianSkeletonProvider

public class HessianSkeletonProviderImpl
extends Object
implements HessianSkeletonProvider

Simple provider implementation.

Author:
Simon Willnauer

Constructor Summary
HessianSkeletonProviderImpl()
          Creates a new HessianSkeletonProviderImpl instance
 
Method Summary
 Map<String,WebserviceMappingBean> getMapping()
           
protected  com.caucho.hessian.server.HessianSkeleton getMappingFromPath(String path)
          The last part of the request URL is used to identify a configured service mapping.
 HessianServiceSkeletonInvoker getServiceSkeletonInvoker(javax.servlet.http.HttpServletRequest arg0)
          Selects the configured Service according to the given request.
 void setMapping(Map<String,WebserviceMappingBean> mapping)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HessianSkeletonProviderImpl

public HessianSkeletonProviderImpl()
Creates a new HessianSkeletonProviderImpl instance

Method Detail

getMappingFromPath

protected com.caucho.hessian.server.HessianSkeleton getMappingFromPath(String path)
The last part of the request URL is used to identify a configured service mapping.

Parameters:
path - - the servletrequest path info
Returns:
- the corresponding HessianSkeleton

getServiceSkeletonInvoker

public HessianServiceSkeletonInvoker getServiceSkeletonInvoker(javax.servlet.http.HttpServletRequest arg0)
Description copied from interface: HessianSkeletonProvider
Selects the configured Service according to the given request.

Specified by:
getServiceSkeletonInvoker in interface HessianSkeletonProvider
Parameters:
arg0 - - the current HttpServletRequest
Returns:
- a corresponding HessianServiceSkeletonInvoker
See Also:
HessianSkeletonProvider.getServiceSkeletonInvoker(javax.servlet.http.HttpServletRequest)

getMapping

public Map<String,WebserviceMappingBean> getMapping()
Returns:
Returns the mapping.

setMapping

public void setMapping(Map<String,WebserviceMappingBean> mapping)
Parameters:
mapping - The mapping to set.


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.