|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fulcrum.spring.AvalonServiceFactoryBean
public class AvalonServiceFactoryBean
A Spring factory bean to lookup Avalon service and get a hold on them as Spring bean. Such spring bean can than be injected as dependency into other beans.
Constructor Summary | |
---|---|
AvalonServiceFactoryBean()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
Resolve the service name to a service. |
Object |
getObject()
|
Class |
getObjectType()
|
boolean |
isSingleton()
|
void |
setServiceManager(org.apache.avalon.framework.service.ServiceManager serviceManager)
Set the Avalon ServiceManager to lookup the Avalon service. |
void |
setServiceName(String serviceName)
Set the name of the Avalon service to be resolved by this Spring bean factory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AvalonServiceFactoryBean()
Method Detail |
---|
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
InitializingBean.afterPropertiesSet()
public void setServiceManager(org.apache.avalon.framework.service.ServiceManager serviceManager)
serviceManager
- the Avalon ServiceManagerpublic void setServiceName(String serviceName)
serviceName
- the Avalon service namepublic Object getObject() throws Exception
getObject
in interface org.springframework.beans.factory.FactoryBean
Exception
FactoryBean.getObject()
public Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
FactoryBean.getObjectType()
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean
FactoryBean.isSingleton()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |