org.qi4j.library.spring.bootstrap.internal.service
Class ServiceFactoryBean

java.lang.Object
  extended by org.qi4j.library.spring.bootstrap.internal.service.ServiceFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean

public final class ServiceFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean


Constructor Summary
ServiceFactoryBean(Application anApplication, String aServiceId)
           
 
Method Summary
 Object getObject()
           
 Class getObjectType()
           
 boolean isSingleton()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceFactoryBean

public ServiceFactoryBean(Application anApplication,
                          String aServiceId)
                   throws IllegalArgumentException
Throws:
IllegalArgumentException
Method Detail

getObject

public final Object getObject()
                       throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
Exception

getObjectType

public final Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public final boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean