|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.beans.factory.config.AbstractFactoryBean org.springframework.beans.factory.serviceloader.AbstractServiceLoaderBasedFactoryBean org.springframework.beans.factory.serviceloader.ServiceListFactoryBean
public class ServiceListFactoryBean
FactoryBean
that exposes all
services for the configured service class, represented as a List of service objects,
obtained through the JDK 1.6 ServiceLoader
facility.
ServiceLoader
Field Summary |
---|
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
---|
logger |
Constructor Summary | |
---|---|
ServiceListFactoryBean()
|
Method Summary | |
---|---|
protected java.lang.Object |
getObjectToExpose(java.util.ServiceLoader serviceLoader)
Determine the actual object to expose for the given ServiceLoader. |
java.lang.Class |
getObjectType()
This abstract method declaration mirrors the method in the FactoryBean interface, for a consistent offering of abstract template methods. |
Methods inherited from class org.springframework.beans.factory.serviceloader.AbstractServiceLoaderBasedFactoryBean |
---|
createInstance, getServiceType, setBeanClassLoader, setServiceType |
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
---|
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanFactory, setSingleton |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.beans.factory.BeanClassLoaderAware |
---|
setBeanClassLoader |
Constructor Detail |
---|
public ServiceListFactoryBean()
Method Detail |
---|
protected java.lang.Object getObjectToExpose(java.util.ServiceLoader serviceLoader)
AbstractServiceLoaderBasedFactoryBean
Left to concrete subclasses.
getObjectToExpose
in class AbstractServiceLoaderBasedFactoryBean
serviceLoader
- the ServiceLoader for the configured service class
public java.lang.Class getObjectType()
AbstractFactoryBean
getObjectType
in interface FactoryBean
getObjectType
in class AbstractFactoryBean
null
if not known at the time of the callFactoryBean.getObjectType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |