org.springframework.osgi.extensions.annotation
Class ServiceFactoryBean

java.lang.Object
  extended by org.springframework.osgi.extensions.annotation.ServiceBean
      extended by org.springframework.osgi.extensions.annotation.ServiceFactoryBean
All Implemented Interfaces:
FactoryBean

public class ServiceFactoryBean
extends ServiceBean
implements FactoryBean

Since:
2.1
Author:
Andy Piper

Constructor Summary
ServiceFactoryBean()
           
 
Method Summary
 Object getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 
Methods inherited from class org.springframework.osgi.extensions.annotation.ServiceBean
getSerializableBean, getServiceBean, setSerializableBean, setServiceBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceFactoryBean

public ServiceFactoryBean()
Method Detail

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface FactoryBean
Throws:
Exception

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean


Copyright © 2006-2011 Spring Framework. All Rights Reserved.