|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.context.support.ApplicationObjectSupport
org.codehaus.enunciate.modules.spring_app.ServiceEndpointFactoryBean
public class ServiceEndpointFactoryBean
Factory bean for creating service bean instances.
| Field Summary |
|---|
| Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
ServiceEndpointFactoryBean(Class serviceInterface)
|
|
| Method Summary | |
|---|---|
protected void |
addInterceptor(Object interceptor)
Adds an interceptor to this list in order. |
String |
getDefaultImplementationBeanName()
The bean name to use to look up the implementation bean if it hasn't been explicitly set. |
Class |
getDefaultImplementationClass()
The class to use if no other implementations are provided. |
Object |
getObject()
|
Class |
getObjectType()
|
Object |
getServiceImplementationBean()
The implementation bean. |
Class |
getServiceInterface()
The service interface. |
protected void |
initApplicationContext(org.springframework.context.ApplicationContext context)
|
boolean |
isSingleton()
|
void |
setDefaultImplementationBeanName(String defaultImplementationBeanName)
The bean name to use to look up the implementation bean if it hasn't been explicitly set. |
void |
setDefaultImplementationClass(Class defaultImplementationClass)
The class to use if no other implementations are provided. |
void |
setInterceptors(List<Object> interceptors)
Ordered list of interceptors to inject on all service beans. |
void |
setServiceImplementationBean(Object serviceImplementationBean)
The implementation bean. |
Object |
wrapEndpoint(Class iface,
Object endpointImpl)
Wraps a specific endpoint bean with the necessary interceptors. |
| Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
|---|
getApplicationContext, getMessageSourceAccessor, initApplicationContext, isContextRequired, requiredContextClass, setApplicationContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceEndpointFactoryBean(Class serviceInterface)
| Method Detail |
|---|
protected void initApplicationContext(org.springframework.context.ApplicationContext context)
throws org.springframework.beans.BeansException
initApplicationContext in class org.springframework.context.support.ApplicationObjectSupportorg.springframework.beans.BeansExceptionpublic void setInterceptors(List<Object> interceptors)
interceptors - The list of interceptors.protected void addInterceptor(Object interceptor)
interceptor - The interceptor to add to the list in order.
public Object getObject()
throws Exception
getObject in interface org.springframework.beans.factory.FactoryBeanExceptionpublic Class getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeanpublic boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean
public Object wrapEndpoint(Class iface,
Object endpointImpl)
throws Exception
iface - The interface.endpointImpl - The implementation.
Exceptionpublic Class getServiceInterface()
public Object getServiceImplementationBean()
public void setServiceImplementationBean(Object serviceImplementationBean)
serviceImplementationBean - The implementation bean.public String getDefaultImplementationBeanName()
public void setDefaultImplementationBeanName(String defaultImplementationBeanName)
defaultImplementationBeanName - The bean name to use to look up the implementation bean if it hasn't been explicitly set.public Class getDefaultImplementationClass()
public void setDefaultImplementationClass(Class defaultImplementationClass)
defaultImplementationClass - The class to use if no other implementations are provided.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||