FileDocCategorySizeDatePackage
WebserviceMappingBean.javaAPI DocApache Lucene 2.1.02222Wed Feb 14 10:46:00 GMT 2007org.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 {@link org.apache.lucene.gdata.hivemind.webservice.HessianSkeletonProvider} as a Map.

author
Simon Willnauer

Fields Summary
private Class
serviceInterface
private Object
serviceImpl
Constructors Summary
public WebserviceMappingBean()
Bean constructor

        super();

    
Methods Summary
public java.lang.ObjectgetServiceImpl()

return
Returns the serviceImpl.

        return this.serviceImpl;
    
public java.lang.ClassgetServiceInterface()

return
Returns the serviceInterface.

        return this.serviceInterface;
    
public voidsetServiceImpl(java.lang.Object serviceImpl)

param
serviceImpl The serviceImpl to set.

        this.serviceImpl = serviceImpl;
    
public voidsetServiceInterface(java.lang.Class serviceInterface)

param
serviceInterface The serviceInterface to set.

        this.serviceInterface = serviceInterface;