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

## Class ServiceFactoryBean

- java.lang.Object
- - 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

    Constructors
    Constructor and Description
    `ServiceFactoryBean(Application anApplication, String aServiceId)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`