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

java.lang.Object
  extended by org.apache.lucene.gdata.hivemind.webservice.WebserviceMappingBean

public class WebserviceMappingBean
extends Object

This class is a simple configuration bean to expose a certain service via a hessian webservice. The configuration requieres the classtype of the interface and an instance of a subclass to invoke the interface methodes.

This bean will be created by Hivemind for each configured service and will be passed to the HessianSkeletonProvider as a Map.

Author:
Simon Willnauer

Constructor Summary
WebserviceMappingBean()
          Bean constructor
 
Method Summary
 Object getServiceImpl()
           
 Class getServiceInterface()
           
 void setServiceImpl(Object serviceImpl)
           
 void setServiceInterface(Class serviceInterface)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebserviceMappingBean

public WebserviceMappingBean()
Bean constructor

Method Detail

getServiceImpl

public Object getServiceImpl()
Returns:
Returns the serviceImpl.

setServiceImpl

public void setServiceImpl(Object serviceImpl)
Parameters:
serviceImpl - The serviceImpl to set.

getServiceInterface

public Class getServiceInterface()
Returns:
Returns the serviceInterface.

setServiceInterface

public void setServiceInterface(Class serviceInterface)
Parameters:
serviceInterface - The serviceInterface to set.


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