|
|||||||||
| 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(java.lang.Class serviceInterface)
|
|
| Method Summary | |
|---|---|
protected void |
addInterceptor(java.lang.Object interceptor)
Adds an interceptor to this list in order. |
java.lang.String |
getDefaultImplementationBeanName()
The bean name to use to look up the implementation bean if it hasn't been explicitly set. |
java.lang.Class |
getDefaultImplementationClass()
The class to use if no other implementations are provided. |
java.lang.Object |
getObject()
|
java.lang.Class |
getObjectType()
|
java.lang.Object |
getServiceImplementationBean()
The implementation bean. |
java.lang.Class |
getServiceInterface()
The service interface. |
protected void |
initApplicationContext(org.springframework.context.ApplicationContext context)
|
boolean |
isSingleton()
|
void |
setDefaultImplementationBeanName(java.lang.String defaultImplementationBeanName)
The bean name to use to look up the implementation bean if it hasn't been explicitly set. |
void |
setDefaultImplementationClass(java.lang.Class defaultImplementationClass)
The class to use if no other implementations are provided. |
void |
setInterceptors(java.util.List<java.lang.Object> interceptors)
Ordered list of interceptors to inject on all service beans. |
void |
setServiceImplementationBean(java.lang.Object serviceImplementationBean)
The implementation bean. |
java.lang.Object |
wrapEndpoint(java.lang.Class iface,
java.lang.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(java.lang.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(java.util.List<java.lang.Object> interceptors)
interceptors - The list of interceptors.protected void addInterceptor(java.lang.Object interceptor)
interceptor - The interceptor to add to the list in order.
public java.lang.Object getObject()
throws java.lang.Exception
getObject in interface org.springframework.beans.factory.FactoryBeanjava.lang.Exceptionpublic java.lang.Class getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBeanpublic boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean
public java.lang.Object wrapEndpoint(java.lang.Class iface,
java.lang.Object endpointImpl)
throws java.lang.Exception
iface - The interface.endpointImpl - The implementation.
java.lang.Exceptionpublic java.lang.Class getServiceInterface()
public java.lang.Object getServiceImplementationBean()
public void setServiceImplementationBean(java.lang.Object serviceImplementationBean)
serviceImplementationBean - The implementation bean.public java.lang.String getDefaultImplementationBeanName()
public void setDefaultImplementationBeanName(java.lang.String defaultImplementationBeanName)
defaultImplementationBeanName - The bean name to use to look up the implementation bean if it hasn't been explicitly set.public java.lang.Class getDefaultImplementationClass()
public void setDefaultImplementationClass(java.lang.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 | ||||||||