Package org.apache.cxf.bus.spring
Class BusApplicationContextResourceResolver
java.lang.Object
org.apache.cxf.bus.spring.BusApplicationContextResourceResolver
- All Implemented Interfaces:
- ResourceResolver,- org.springframework.beans.factory.Aware,- org.springframework.context.ApplicationContextAware
public class BusApplicationContextResourceResolver
extends Object
implements ResourceResolver, org.springframework.context.ApplicationContextAware
- 
Constructor SummaryConstructorsConstructorDescriptionBusApplicationContextResourceResolver(org.springframework.context.ApplicationContext c) 
- 
Method SummaryModifier and TypeMethodDescriptiongetAsStream(String name) Resolve a resource given its name and return an InputStream to it.<T> TResolve a resource given its name and type.voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) 
- 
Constructor Details- 
BusApplicationContextResourceResolverpublic BusApplicationContextResourceResolver()
- 
BusApplicationContextResourceResolverpublic BusApplicationContextResourceResolver(org.springframework.context.ApplicationContext c) 
 
- 
- 
Method Details- 
getAsStreamDescription copied from interface:ResourceResolverResolve a resource given its name and return an InputStream to it.- Specified by:
- getAsStreamin interface- ResourceResolver
- Parameters:
- name- name of the resource to resolve.
- Returns:
- an InputStream for the resource or null if it could not be found.
 
- 
resolveDescription copied from interface:ResourceResolverResolve a resource given its name and type.- Specified by:
- resolvein interface- ResourceResolver
- Parameters:
- resourceName- name of the resource to resolve.
- resourceType- type of the resource to resolve.
- Returns:
- an instance of the resource or nullif the resource cannot be resolved.
 
- 
setApplicationContextpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
- setApplicationContextin interface- org.springframework.context.ApplicationContextAware
 
 
-