public class ContainerFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean
FactoryBean
implementation delegating to the Container
singleton.
Property specificationIdentifier
holds the identifier of the
specification to return an object for. Property implementationName
holds the optional name of the implementation of the object to return.
ContainerFactory.newContainer()
Constructor and Description |
---|
ContainerFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected ClassLoader |
getClassLoader(Class clazz) |
String |
getImplementationName()
Gets the value of property
implementationName . |
Object |
getObject() |
Class |
getObjectType() |
String |
getSpecificationIdentifier()
Gets the value of property
specificationIdentifier . |
boolean |
isSingleton() |
public ContainerFactoryBean()
protected ClassLoader getClassLoader(Class clazz)
public String getImplementationName()
implementationName
.public Object getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
Exception
public Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
public String getSpecificationIdentifier()
specificationIdentifier
.public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
Copyright © 2005-2012 jDTAUS. All Rights Reserved.