com.sun.jersey.server.impl.cdi
Class Utils

java.lang.Object
  extended by com.sun.jersey.server.impl.cdi.Utils

public class Utils
extends Object

Utility methods for CDI BeanManager and Bean classes.

Author:
robc, Paul.Sandoz@Sun.Com

Method Summary
static javax.enterprise.inject.spi.Bean<?> getBean(javax.enterprise.inject.spi.BeanManager bm, Class<?> c)
           
static
<T> T
getInstance(javax.enterprise.inject.spi.BeanManager bm, Class<T> c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBean

public static javax.enterprise.inject.spi.Bean<?> getBean(javax.enterprise.inject.spi.BeanManager bm,
                                                          Class<?> c)

getInstance

public static <T> T getInstance(javax.enterprise.inject.spi.BeanManager bm,
                                Class<T> c)


Copyright © 2013 Oracle Corporation. All Rights Reserved.