org.apache.cxf.bus.spring
Class BusApplicationContextResourceResolver

java.lang.Object
  extended by org.apache.cxf.bus.spring.BusApplicationContextResourceResolver
All Implemented Interfaces:
org.apache.cxf.resource.ResourceResolver, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class BusApplicationContextResourceResolver
extends Object
implements org.apache.cxf.resource.ResourceResolver, org.springframework.context.ApplicationContextAware


Constructor Summary
BusApplicationContextResourceResolver()
           
BusApplicationContextResourceResolver(org.springframework.context.ApplicationContext c)
           
 
Method Summary
 InputStream getAsStream(String name)
           
<T> T
resolve(String resourceName, Class<T> resourceType)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BusApplicationContextResourceResolver

public BusApplicationContextResourceResolver()

BusApplicationContextResourceResolver

public BusApplicationContextResourceResolver(org.springframework.context.ApplicationContext c)
Method Detail

getAsStream

public InputStream getAsStream(String name)
Specified by:
getAsStream in interface org.apache.cxf.resource.ResourceResolver

resolve

public <T> T resolve(String resourceName,
                     Class<T> resourceType)
Specified by:
resolve in interface org.apache.cxf.resource.ResourceResolver

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


Apache CXF