public class CdiComponentProvider
extends org.glassfish.tyrus.core.ComponentProvider
| Constructor and Description |
|---|
CdiComponentProvider()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Object |
create(Class<T> c) |
boolean |
destroy(Object o) |
boolean |
isApplicable(Class<?> c) |
public CdiComponentProvider()
throws NamingException
Looks up the BeanManager which is later used to provide the instance.
NamingException - when Bean Manager cannot be looked up.public boolean isApplicable(Class<?> c)
isApplicable in class org.glassfish.tyrus.core.ComponentProviderpublic <T> Object create(Class<T> c)
create in class org.glassfish.tyrus.core.ComponentProviderpublic boolean destroy(Object o)
destroy in class org.glassfish.tyrus.core.ComponentProviderCopyright © 2012–2020 Oracle Corporation. All rights reserved.