com.gigaspaces.grid.bean
Class SpringBeanFactory

java.lang.Object
  extended by org.jini.rio.bean.BeanFactory
      extended by com.gigaspaces.grid.bean.SpringBeanFactory
All Implemented Interfaces:
org.jini.rio.core.jsb.ServiceBeanFactory

public class SpringBeanFactory
extends org.jini.rio.bean.BeanFactory

Instantiates a Plain Old Java Object (POJO) using Spring, providing support for remote invocations and administration by adapting the POJO into the framework using the Spring framework.

Declaring this bean factory is done as follows:

 <Configuration>
     <Component Name="service.load">
         <Parameter Name="serviceBeanFactory"
                    Value="new com.gigaspaces.grid.bean.SpringBeanFactory()"/>
     </Component>
 </Configuration>
 

See Also:
ServiceBeanFactory, BeanFactory

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jini.rio.core.jsb.ServiceBeanFactory
org.jini.rio.core.jsb.ServiceBeanFactory.Created
 
Constructor Summary
SpringBeanFactory()
           
 
Method Summary
protected  java.lang.Object getBean(org.jini.rio.core.jsb.ServiceBeanContext context)
          Get the bean object
 
Methods inherited from class org.jini.rio.bean.BeanFactory
create, getPlatformDLJars
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringBeanFactory

public SpringBeanFactory()
Method Detail

getBean

protected java.lang.Object getBean(org.jini.rio.core.jsb.ServiceBeanContext context)
                            throws java.lang.Exception
Get the bean object

Overrides:
getBean in class org.jini.rio.bean.BeanFactory
Throws:
java.lang.Exception


Copyright (c) 2007 GigaSpaces Technologies, Inc.
All Rights Reserved.