org.apache.cxf.jaxrs.spring
Class SpringResourceFactory
java.lang.Object
org.apache.cxf.jaxrs.spring.SpringResourceFactory
- All Implemented Interfaces:
- ResourceProvider, org.springframework.context.ApplicationContextAware
public class SpringResourceFactory
- extends Object
- implements ResourceProvider, org.springframework.context.ApplicationContextAware
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringResourceFactory
public SpringResourceFactory()
SpringResourceFactory
public SpringResourceFactory(String name)
getInstance
public Object getInstance(Message m)
- Specified by:
getInstance in interface ResourceProvider
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton in interface ResourceProvider
releaseInstance
public void releaseInstance(Message m,
Object o)
- Specified by:
releaseInstance in interface ResourceProvider
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
setBeanId
public void setBeanId(String serviceBeanId)
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext()
getResourceClass
public Class<?> getResourceClass()
- Specified by:
getResourceClass in interface ResourceProvider
Apache CXF