com.sun.jersey.spi.spring.container
Class SpringComponentProviderFactory

java.lang.Object
  extended by com.sun.jersey.spi.spring.container.SpringComponentProviderFactory
All Implemented Interfaces:
com.sun.jersey.core.spi.component.ComponentProviderFactory<com.sun.jersey.core.spi.component.ioc.IoCComponentProvider>, com.sun.jersey.core.spi.component.ioc.IoCComponentProviderFactory

public class SpringComponentProviderFactory
extends java.lang.Object
implements com.sun.jersey.core.spi.component.ioc.IoCComponentProviderFactory

The Spring-based IoCComponentProviderFactory.

Resource and provider classes can be registered Spring-based beans using XML-based registration or auto-wire-based registration.

Author:
Paul.Sandoz@Sun.Com

Constructor Summary
SpringComponentProviderFactory(ResourceConfig rc, org.springframework.context.ConfigurableApplicationContext springContext)
           
 
Method Summary
 com.sun.jersey.core.spi.component.ioc.IoCComponentProvider getComponentProvider(java.lang.Class c)
           
 com.sun.jersey.core.spi.component.ioc.IoCComponentProvider getComponentProvider(com.sun.jersey.core.spi.component.ComponentContext cc, java.lang.Class c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringComponentProviderFactory

public SpringComponentProviderFactory(ResourceConfig rc,
                                      org.springframework.context.ConfigurableApplicationContext springContext)
Method Detail

getComponentProvider

public com.sun.jersey.core.spi.component.ioc.IoCComponentProvider getComponentProvider(java.lang.Class c)
Specified by:
getComponentProvider in interface com.sun.jersey.core.spi.component.ComponentProviderFactory<com.sun.jersey.core.spi.component.ioc.IoCComponentProvider>
Specified by:
getComponentProvider in interface com.sun.jersey.core.spi.component.ioc.IoCComponentProviderFactory

getComponentProvider

public com.sun.jersey.core.spi.component.ioc.IoCComponentProvider getComponentProvider(com.sun.jersey.core.spi.component.ComponentContext cc,
                                                                                       java.lang.Class c)
Specified by:
getComponentProvider in interface com.sun.jersey.core.spi.component.ioc.IoCComponentProviderFactory


Copyright © 2010 Sun Microsystems, Inc. All Rights Reserved.