org.hudsonci.rest.server.internal.jersey
Class SmoothieComponentProviderFactory

java.lang.Object
  extended by org.hudsonci.rest.server.internal.jersey.SmoothieComponentProviderFactory
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

@Named(value="smoothie")
@Singleton
public class SmoothieComponentProviderFactory
extends Object
implements com.sun.jersey.core.spi.component.ioc.IoCComponentProviderFactory

Provides IoC support for loading Jersey components via SmoothieContainer.

Since:
2.1.0
Author:
Jeanfrancois Arcand, Jason Dillon

Constructor Summary
SmoothieComponentProviderFactory(SmoothieContainer container)
           
 
Method Summary
 com.sun.jersey.core.spi.component.ioc.IoCComponentProvider getComponentProvider(Class<?> type)
           
 com.sun.jersey.core.spi.component.ioc.IoCComponentProvider getComponentProvider(com.sun.jersey.core.spi.component.ComponentContext context, Class<?> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmoothieComponentProviderFactory

@Inject
public SmoothieComponentProviderFactory(SmoothieContainer container)
Method Detail

getComponentProvider

public com.sun.jersey.core.spi.component.ioc.IoCComponentProvider getComponentProvider(Class<?> type)
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 context,
                                                                                       Class<?> type)
Specified by:
getComponentProvider in interface com.sun.jersey.core.spi.component.ioc.IoCComponentProviderFactory


Copyright © 2004-2011 Hudson. All Rights Reserved.