T
- type of the bean classS
- type of bean (either Bean, Interceptor or Decorator)public class WrappedBeanHolder<T,S extends javax.enterprise.inject.spi.Bean<T>> extends Object
IsolatedForwardingBean
and its subclasses as a value holder.Constructor and Description |
---|
WrappedBeanHolder(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
S bean) |
Modifier and Type | Method and Description |
---|---|
javax.enterprise.inject.spi.BeanAttributes<T> |
getAttributes() |
S |
getBean() |
static <T,S extends javax.enterprise.inject.spi.Bean<T>> |
of(javax.enterprise.inject.spi.BeanAttributes<T> attributes,
S bean) |
public static <T,S extends javax.enterprise.inject.spi.Bean<T>> WrappedBeanHolder<T,S> of(javax.enterprise.inject.spi.BeanAttributes<T> attributes, S bean)
public javax.enterprise.inject.spi.BeanAttributes<T> getAttributes()
public S getBean()
Copyright © 2016. All rights reserved.