T - public abstract class AbstractCDI<T> extends javax.enterprise.inject.spi.CDI<T> implements org.jboss.weld.inject.WeldInstance<T>
getCallingClassName() method.org.jboss.weld.inject.WeldInstance.Handler<T>| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
knownClassNames |
| Constructor and Description |
|---|
AbstractCDI() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkState()
Check whether the container is in a "valid" state, no-op by default.
|
void |
destroy(T instance) |
T |
get() |
protected String |
getCallingClassName()
Examines
StackTraceElements to figure out which class invoked a method on CDI. |
org.jboss.weld.inject.WeldInstance.Handler<T> |
getHandler() |
protected org.jboss.weld.inject.WeldInstance<T> |
getInstance()
Subclasses are allowed to override the default behavior, i.e.
|
Iterable<org.jboss.weld.inject.WeldInstance.Handler<T>> |
handlers() |
boolean |
isAmbiguous() |
boolean |
isResolvable() |
boolean |
isUnsatisfied() |
Iterator<T> |
iterator() |
org.jboss.weld.inject.WeldInstance<T> |
select(Annotation... qualifiers) |
<U extends T> |
select(Class<U> subtype,
Annotation... qualifiers) |
<U extends T> |
select(javax.enterprise.util.TypeLiteral<U> subtype,
Annotation... qualifiers) |
current, getBeanManager, setCDIProviderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic org.jboss.weld.inject.WeldInstance<T> select(Annotation... qualifiers)
select in interface javax.enterprise.inject.Instance<T>select in interface org.jboss.weld.inject.WeldInstance<T>public <U extends T> org.jboss.weld.inject.WeldInstance<U> select(Class<U> subtype, Annotation... qualifiers)
select in interface javax.enterprise.inject.Instance<T>select in interface org.jboss.weld.inject.WeldInstance<T>public <U extends T> org.jboss.weld.inject.WeldInstance<U> select(javax.enterprise.util.TypeLiteral<U> subtype, Annotation... qualifiers)
select in interface javax.enterprise.inject.Instance<T>select in interface org.jboss.weld.inject.WeldInstance<T>public boolean isUnsatisfied()
isUnsatisfied in interface javax.enterprise.inject.Instance<T>public boolean isAmbiguous()
isAmbiguous in interface javax.enterprise.inject.Instance<T>public void destroy(T instance)
destroy in interface javax.enterprise.inject.Instance<T>public org.jboss.weld.inject.WeldInstance.Handler<T> getHandler()
getHandler in interface org.jboss.weld.inject.WeldInstance<T>public boolean isResolvable()
isResolvable in interface org.jboss.weld.inject.WeldInstance<T>public Iterable<org.jboss.weld.inject.WeldInstance.Handler<T>> handlers()
handlers in interface org.jboss.weld.inject.WeldInstance<T>protected String getCallingClassName()
StackTraceElements to figure out which class invoked a method on CDI.protected org.jboss.weld.inject.WeldInstance<T> getInstance()
Instance the relevant calls are delegated toprotected void checkState()
Subclasses are allowed to override the default behavior, i.e. to check whether a container is running.
Copyright © 2017. All rights reserved.