@ModulePrivate public final class InjectManager extends java.lang.Object implements BeanManager, EnvironmentListener, java.io.Serializable, HandleAware
| Modifier and Type | Class and Description |
|---|---|
class |
InjectManager.ContextReferenceFactory<T> |
class |
InjectManager.DelegateReferenceFactory<T> |
class |
InjectManager.DependentElReferenceFactoryImpl<T> |
class |
InjectManager.DependentReferenceFactory<T> |
class |
InjectManager.DependentReferenceFactoryImpl<T> |
class |
InjectManager.ErrorReferenceFactory<T> |
class |
InjectManager.InjectionPointReferenceFactory |
class |
InjectManager.NormalContextReferenceFactory<T> |
class |
InjectManager.NormalInstanceReferenceFactory<T> |
class |
InjectManager.ReferenceFactory<T> |
class |
InjectManager.UnresolvedReferenceFactory |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
addBean(Bean<T> bean)
Processes the discovered bean
|
<T> void |
addBean(Bean<T> bean,
Annotated ann) |
<T> void |
addBean(Bean<T> bean,
ProcessBean<T> process)
Adds a new bean definition to the manager
|
<T> void |
addBeanDiscover(Bean<T> bean)
Processes the discovered bean
|
<T> void |
addBeanDiscover(Bean<T> bean,
Annotated ann)
Processes the discovered bean
|
<T> void |
addBeanImpl(Bean<T> bean,
Annotated ann)
Adds a new bean definition to the manager
|
void |
addBeansXmlOverride(Path path,
Path beansXmlPath) |
void |
addConfiguredBean(java.lang.String className) |
void |
addConfiguredClass(java.lang.String className) |
void |
addContext(Context context)
Adds a new scope context
|
<X> BeanManager |
addDecoratorClass(java.lang.Class<?> decoratorClass)
Adds a new decorator class
|
void |
addDefinitionError(java.lang.Throwable t) |
void |
addExtension(Extension extension) |
<X> BeanManager |
addInterceptorClass(java.lang.Class<?> interceptorClass)
Adds a new decorator class
|
void |
addLoader() |
<X> void |
addManagedBean(ManagedBeanImpl<X> managedBean) |
<X> void |
addManagedBeanDiscover(ManagedBeanImpl<X> managedBean) |
<X> void |
addManagedProduces(Bean<X> bean,
AnnotatedType<X> beanType) |
<T,X> void |
addObserver(ObserverMethod<T> observer,
AnnotatedMethod<X> method) |
<X> void |
addProduces(Bean<X> bean,
AnnotatedType<X> beanType) |
<X,T> void |
addProducesBean(ProducesMethodBean<X,T> bean) |
<X,T> void |
addProducesFieldBean(ProducesFieldBean<X,T> bean) |
void |
addQualifier(java.lang.Class<? extends java.lang.annotation.Annotation> qualifier) |
void |
addScope(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType,
boolean isNormal,
boolean isPassivating) |
<T> Bean<T> |
addSingleton(T obj) |
void |
addStereotype(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType,
java.lang.annotation.Annotation[] annotations) |
void |
addXmlInjectionTarget(long cookie,
InjectionTarget<?> target) |
void |
addXmlPath(Path path) |
void |
bind()
Starts the bind phase
|
void |
bindGlobals() |
void |
checkActive() |
static InjectManager |
create()
Returns the current active container.
|
static InjectManager |
create(java.lang.ClassLoader loader)
Returns the current active container.
|
<T> AnnotatedType<T> |
createAnnotatedType(java.lang.Class<T> cl)
Creates an annotated type.
|
<T> BeanBuilder<T> |
createBeanFactory(AnnotatedType<T> type)
Returns a new instance for a class, but does not register the
component with CDI.
|
<T> BeanBuilder<T> |
createBeanFactory(java.lang.Class<T> type)
Returns a new instance for a class, but does not register the
component with webbeans.
|
<T> BeanBuilder<T> |
createBeanFactory(ManagedBeanImpl<T> managedBean)
Returns a new instance for a class, but does not register the
component with webbeans.
|
Conversation |
createConversation() |
<T> CreationalContext<T> |
createCreationalContext(Contextual<T> bean)
Creates a new CreationalContext for instantiating a bean.
|
<T> InjectionTarget<T> |
createInjectionTarget(AnnotatedType<T> type)
Creates an injection target
|
<T> InjectionTarget<T> |
createInjectionTarget(java.lang.Class<T> type)
Creates a managed bean.
|
<T> ManagedBeanImpl<T> |
createManagedBean(AnnotatedType<T> type)
Creates a managed bean.
|
<T> ManagedBeanImpl<T> |
createManagedBean(java.lang.Class<T> cl)
Creates a managed bean.
|
<T> InjectManager.ReferenceFactory<T> |
createNormalInstanceFactory(Bean<T> bean) |
BaseType |
createSourceBaseType(java.lang.reflect.Type type)
Creates a BaseType from a Type used as a source, for example a Bean.
|
BaseType |
createTargetBaseType(java.lang.reflect.Type type)
Creates a BaseType from a Type used as a target, for example
an injection point.
|
<T> T |
createTransientObject(java.lang.Class<T> type)
Creates an object, but does not register the
component with webbeans.
|
void |
destroy() |
<X> void |
discoverBean(AnnotatedType<X> beanType) |
<T> InjectionTarget<T> |
discoverInjectionTarget(AnnotatedType<T> type)
Creates an injection target
|
<T> InjectionTarget<T> |
discoverInjectionTarget(java.lang.Class<T> type)
Creates a managed bean.
|
<T> ManagedBeanImpl<T> |
discoverManagedBean(java.lang.Class<T> cl)
Creates a managed bean.
|
void |
environmentBind(EnvironmentClassLoader loader)
Handles the case the environment config phase
|
void |
environmentConfigure(EnvironmentClassLoader loader)
Handles the case the environment config phase
|
void |
environmentStart(EnvironmentClassLoader loader)
Handles the case where the environment is starting (after init).
|
void |
environmentStop(EnvironmentClassLoader loader)
Handles the case where the environment is stopping
|
static ConfigException |
error(java.lang.reflect.Method method,
java.lang.String msg) |
protected java.util.ArrayList<Bean<?>> |
findByName(java.lang.String name)
Finds a component by its component name.
|
<T> T |
findReference(Bean<T> bean)
Convenience for Resin.
|
void |
fireEvent(java.lang.Object event,
java.lang.annotation.Annotation... qualifiers)
Sends the specified event to any observer instances in the scope
|
XmlCookie |
generateXmlCookie() |
ApplicationContext |
getApplicationScope() |
java.util.Set<Bean<?>> |
getBeans(java.lang.String name)
Returns the bean definitions matching a given name
|
java.util.Set<Bean<?>> |
getBeans(java.lang.reflect.Type type,
java.lang.annotation.Annotation... qualifiers)
Returns the beans matching a class and annotation set
|
java.util.List<Path> |
getBeansXmlOverride(Path path) |
java.lang.ClassLoader |
getClassLoader()
Returns the current active container.
|
java.lang.RuntimeException |
getConfigException() |
Context |
getContext(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
Returns the scope context for the given type
|
Context |
getContextImpl(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
Required for TCK.
|
static InjectManager |
getCurrent()
Returns the local container.
|
static InjectManager |
getCurrent(java.lang.ClassLoader loader)
Returns the current environment container.
|
int |
getDeploymentPriority(Bean<?> bean) |
ELResolver |
getELResolver()
Returns the BeanManager's EL resolver.
|
EventManager |
getEventManager() |
ExtensionManager |
getExtensionManager() |
java.lang.Object |
getInjectableReference(InjectionPoint ij,
CreationalContext<?> parentCxt)
Internal callback during creation to get a new injection instance.
|
InjectionPointHandler |
getInjectionPointHandler(java.lang.Class<? extends java.lang.annotation.Annotation> annType) |
java.util.Set<java.lang.annotation.Annotation> |
getInterceptorBindingDefinition(java.lang.Class<? extends java.lang.annotation.Annotation> bindingType)
Returns the bindings for an interceptor binding type
|
java.lang.ClassLoader |
getJndiClassLoader() |
<X> Bean<X> |
getMostSpecializedBean(Bean<X> bean) |
InjectManager |
getParent() |
Bean<?> |
getPassivationCapableBean(java.lang.String id)
Returns the bean for the given passivation id.
|
java.lang.annotation.Annotation[] |
getQualifiers(java.lang.annotation.Annotation[] annotations) |
java.lang.annotation.Annotation[] |
getQualifiers(java.util.Set<java.lang.annotation.Annotation> annotations) |
java.lang.Object |
getReference(Bean<?> bean,
java.lang.reflect.Type type,
CreationalContext<?> createContext)
Returns an instance for the given bean.
|
<T> T |
getReference(Bean<T> bean)
Convenience for Resin.
|
<T> T |
getReference(Bean<T> bean,
CreationalContextImpl<?> parentEnv)
Convenience for Resin.
|
<T> T |
getReference(java.lang.Class<T> type,
java.lang.annotation.Annotation... qualifiers)
Convenience-class for Resin.
|
<T> T |
getReference(java.lang.String name)
Convenience-class for Resin.
|
<T> T |
getReference(java.lang.String name,
CreationalContextImpl parentEnv)
Convenience-class for Resin.
|
<T> InjectManager.ReferenceFactory<T> |
getReferenceFactory(Bean<T> bean) |
InjectManager.ReferenceFactory<?> |
getReferenceFactory(InjectionPoint ij) |
InjectManager.ReferenceFactory<?> |
getReferenceFactory(java.lang.String name) |
InjectManager.ReferenceFactory<?> |
getReferenceFactory(java.lang.reflect.Type type,
java.util.Set<java.lang.annotation.Annotation> qualifiers,
InjectionPoint ij) |
ResourceProgramManager |
getResourceManager() |
com.caucho.config.inject.InjectScanManager |
getScanManager() |
java.util.concurrent.atomic.AtomicBoolean |
getStaticMemberBoolean(java.lang.reflect.Member member) |
java.util.Set<java.lang.annotation.Annotation> |
getStereotypeDefinition(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype)
Returns the annotations associated with a stereotype
|
long |
getVersion()
Returns the modification version.
|
InjectionTarget<?> |
getXmlInjectionTarget(long cookie) |
void |
initialize() |
static ConfigException |
injectError(java.lang.reflect.AccessibleObject prop,
java.lang.String msg) |
boolean |
isChildManager() |
boolean |
isClosed() |
boolean |
isInterceptorBinding(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Tests if an annotation is an enabled interceptor binding type
|
boolean |
isNormalScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Tests if an annotation is an enabled scope type
|
boolean |
isPassivatingScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Tests if an annotation is an enabled scope type
|
boolean |
isQualifier(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Tests if an annotation is an enabled binding type
|
boolean |
isScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Tests if an annotation is an enabled scope type
|
boolean |
isSpecialized(java.lang.Class<?> beanClass) |
boolean |
isStereotype(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Tests if an annotation is an enabled stereotype.
|
<T> java.util.ArrayList<T> |
loadLocalServices(java.lang.Class<T> serviceClass) |
<T> java.util.ArrayList<T> |
loadServices(java.lang.Class<T> serviceClass) |
static java.lang.String |
location(java.lang.reflect.Field field) |
static java.lang.String |
location(java.lang.reflect.Method method) |
void |
notifyStart() |
<T> InjectionTarget<T> |
processInjectionTarget(InjectionTarget<T> target,
AnnotatedType<T> ann) |
void |
processPendingAnnotatedTypes() |
void |
replaceContext(Context context) |
<X> Bean<? extends X> |
resolve(java.util.Set<Bean<? extends X>> beans)
Returns the bean with the highest precedence deployment type from a set.
|
java.util.Set<Bean<?>> |
resolveAllByType(java.lang.Class<?> type)
Returns the web beans component with a given binding list.
|
java.util.List<Decorator<?>> |
resolveDecorators(java.lang.Class<?> type)
Called by the generated code.
|
java.util.List<Decorator<?>> |
resolveDecorators(java.util.Set<java.lang.reflect.Type> types,
java.lang.annotation.Annotation... qualifiers)
Resolves the decorators for a given set of types
|
java.util.List<Interceptor<?>> |
resolveInterceptors(InterceptionType type,
java.lang.annotation.Annotation... qualifiers)
Resolves the interceptors for a given interceptor type
|
<T> java.util.Set<ObserverMethod<? super T>> |
resolveObserverMethods(T event,
java.lang.annotation.Annotation... qualifiers)
Returns the observers listening for an event
|
void |
setDeploymentTypes(java.util.ArrayList<java.lang.Class<?>> deploymentList) |
void |
setEnableAutoUpdate(boolean isEnable) |
void |
setIsCustomExtension(boolean isCustom) |
void |
setJndiClassLoader(java.lang.ClassLoader loader) |
void |
setSerializationHandle(java.lang.Object handle)
Callback to set the webbeans handle.
|
void |
start() |
java.lang.String |
toString() |
java.lang.RuntimeException |
unsatisfiedException(java.lang.reflect.Type type,
java.lang.annotation.Annotation[] qualifiers) |
void |
update() |
void |
updateResources() |
void |
validate(InjectionPoint ij)
Internal callback during creation to get a new injection instance.
|
InjectManager.ReferenceFactory<?> |
validateInjectionPoint(InjectionPoint ij) |
ExpressionFactory |
wrapExpressionFactory(ExpressionFactory expressionFactory)
Returns the BeanManager's EL resolver.
|
java.lang.Object |
writeReplace()
Serialization rewriting
|
public long getVersion()
public com.caucho.config.inject.InjectScanManager getScanManager()
public void setIsCustomExtension(boolean isCustom)
@Module public EventManager getEventManager()
@Module public ExtensionManager getExtensionManager()
public static InjectManager getCurrent()
public static InjectManager getCurrent(java.lang.ClassLoader loader)
public static InjectManager create()
public static InjectManager create(java.lang.ClassLoader loader)
public java.lang.ClassLoader getClassLoader()
public java.lang.ClassLoader getJndiClassLoader()
public boolean isChildManager()
public void setJndiClassLoader(java.lang.ClassLoader loader)
public InjectManager getParent()
public ApplicationContext getApplicationScope()
public void addXmlPath(Path path)
public void setEnableAutoUpdate(boolean isEnable)
public void setDeploymentTypes(java.util.ArrayList<java.lang.Class<?>> deploymentList)
protected java.util.ArrayList<Bean<?>> findByName(java.lang.String name)
public Conversation createConversation()
public <T> T createTransientObject(java.lang.Class<T> type)
public <T> BeanBuilder<T> createBeanFactory(ManagedBeanImpl<T> managedBean)
public <T> BeanBuilder<T> createBeanFactory(java.lang.Class<T> type)
public <T> BeanBuilder<T> createBeanFactory(AnnotatedType<T> type)
public <T> Bean<T> addSingleton(T obj)
@Module public void addScope(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType, boolean isNormal, boolean isPassivating)
public boolean isScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
isScope in interface BeanManagerpublic boolean isNormalScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
isNormalScope in interface BeanManagerpublic boolean isPassivatingScope(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
isPassivatingScope in interface BeanManager@Module public void addQualifier(java.lang.Class<? extends java.lang.annotation.Annotation> qualifier)
public boolean isQualifier(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
isQualifier in interface BeanManagerpublic boolean isInterceptorBinding(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
isInterceptorBinding in interface BeanManagerpublic java.util.Set<java.lang.annotation.Annotation> getInterceptorBindingDefinition(java.lang.Class<? extends java.lang.annotation.Annotation> bindingType)
getInterceptorBindingDefinition in interface BeanManager@Module public void addStereotype(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType, java.lang.annotation.Annotation[] annotations)
public boolean isStereotype(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
isStereotype in interface BeanManagerpublic java.util.Set<java.lang.annotation.Annotation> getStereotypeDefinition(java.lang.Class<? extends java.lang.annotation.Annotation> stereotype)
getStereotypeDefinition in interface BeanManagerpublic BaseType createTargetBaseType(java.lang.reflect.Type type)
public BaseType createSourceBaseType(java.lang.reflect.Type type)
public <T> AnnotatedType<T> createAnnotatedType(java.lang.Class<T> cl)
createAnnotatedType in interface BeanManagerpublic <T> InjectionTarget<T> createInjectionTarget(AnnotatedType<T> type)
createInjectionTarget in interface BeanManagerpublic <T> InjectionTarget<T> discoverInjectionTarget(AnnotatedType<T> type)
public <T> InjectionTarget<T> createInjectionTarget(java.lang.Class<T> type)
public <T> InjectionTarget<T> discoverInjectionTarget(java.lang.Class<T> type)
public <T,X> void addObserver(ObserverMethod<T> observer, AnnotatedMethod<X> method)
public <T> ManagedBeanImpl<T> createManagedBean(AnnotatedType<T> type)
public <T> ManagedBeanImpl<T> createManagedBean(java.lang.Class<T> cl)
public <T> ManagedBeanImpl<T> discoverManagedBean(java.lang.Class<T> cl)
public <T> void addBeanDiscover(Bean<T> bean)
public <T> void addBean(Bean<T> bean)
@Module public <T> void addBeanDiscover(Bean<T> bean, Annotated ann)
public <T> void addBean(Bean<T> bean, ProcessBean<T> process)
public <T> void addBeanImpl(Bean<T> bean, Annotated ann)
public ResourceProgramManager getResourceManager()
public java.util.Set<Bean<?>> getBeans(java.lang.String name)
getBeans in interface BeanManagername - the name of the bean to match@Module public java.util.concurrent.atomic.AtomicBoolean getStaticMemberBoolean(java.lang.reflect.Member member)
@Module public InjectManager.ReferenceFactory<?> getReferenceFactory(java.lang.String name)
public java.util.Set<Bean<?>> getBeans(java.lang.reflect.Type type, java.lang.annotation.Annotation... qualifiers)
getBeans in interface BeanManagertype - the bean's classqualifiers - required @Qualifier annotationspublic java.util.Set<Bean<?>> resolveAllByType(java.lang.Class<?> type)
@Module public boolean isSpecialized(java.lang.Class<?> beanClass)
public <X> Bean<? extends X> resolve(java.util.Set<Bean<? extends X>> beans)
BeanManagerresolve in interface BeanManagerbeans - the set of beans to select frompublic void validate(InjectionPoint ij)
BeanManagervalidate in interface BeanManagerpublic InjectManager.ReferenceFactory<?> validateInjectionPoint(InjectionPoint ij)
public int getDeploymentPriority(Bean<?> bean)
public <T> CreationalContext<T> createCreationalContext(Contextual<T> bean)
BeanManagercreateCreationalContext in interface BeanManagerpublic <T> T getReference(java.lang.Class<T> type,
java.lang.annotation.Annotation... qualifiers)
public <T> T getReference(Bean<T> bean)
public <T> T findReference(Bean<T> bean)
public <T> T getReference(Bean<T> bean, CreationalContextImpl<?> parentEnv)
public <T> T getReference(java.lang.String name)
public <T> T getReference(java.lang.String name,
CreationalContextImpl parentEnv)
public java.lang.Object getReference(Bean<?> bean, java.lang.reflect.Type type, CreationalContext<?> createContext)
getReference in interface BeanManagerbean - the metadata for the beantype - the expected typecreateContext - the creational context environment for the beanpublic <T> InjectManager.ReferenceFactory<T> getReferenceFactory(Bean<T> bean)
public <T> InjectManager.ReferenceFactory<T> createNormalInstanceFactory(Bean<T> bean)
public java.lang.RuntimeException unsatisfiedException(java.lang.reflect.Type type,
java.lang.annotation.Annotation[] qualifiers)
public InjectionPointHandler getInjectionPointHandler(java.lang.Class<? extends java.lang.annotation.Annotation> annType)
public java.lang.Object getInjectableReference(InjectionPoint ij, CreationalContext<?> parentCxt)
getInjectableReference in interface BeanManagerpublic InjectManager.ReferenceFactory<?> getReferenceFactory(InjectionPoint ij)
public InjectManager.ReferenceFactory<?> getReferenceFactory(java.lang.reflect.Type type, java.util.Set<java.lang.annotation.Annotation> qualifiers, InjectionPoint ij)
public ELResolver getELResolver()
BeanManagergetELResolver in interface BeanManagerpublic ExpressionFactory wrapExpressionFactory(ExpressionFactory expressionFactory)
BeanManagerwrapExpressionFactory in interface BeanManagerpublic void addContext(Context context)
public void replaceContext(Context context)
public Context getContext(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
getContext in interface BeanManagerpublic Context getContextImpl(java.lang.Class<? extends java.lang.annotation.Annotation> scopeType)
public Bean<?> getPassivationCapableBean(java.lang.String id)
getPassivationCapableBean in interface BeanManagerid - the basic beanpublic java.lang.annotation.Annotation[] getQualifiers(java.util.Set<java.lang.annotation.Annotation> annotations)
public java.lang.annotation.Annotation[] getQualifiers(java.lang.annotation.Annotation[] annotations)
public void fireEvent(java.lang.Object event,
java.lang.annotation.Annotation... qualifiers)
fireEvent in interface BeanManagerevent - the event to firequalifiers - the event qualifierspublic <T> java.util.Set<ObserverMethod<? super T>> resolveObserverMethods(T event, java.lang.annotation.Annotation... qualifiers)
resolveObserverMethods in interface BeanManagerevent - to resolvequalifiers - the binding set for the eventpublic <X> BeanManager addInterceptorClass(java.lang.Class<?> interceptorClass)
public java.util.List<Interceptor<?>> resolveInterceptors(InterceptionType type, java.lang.annotation.Annotation... qualifiers)
resolveInterceptors in interface BeanManagertype - the main interception typequalifiers - qualifying bindingspublic <X> BeanManager addDecoratorClass(java.lang.Class<?> decoratorClass)
public java.util.List<Decorator<?>> resolveDecorators(java.lang.Class<?> type)
public java.util.List<Decorator<?>> resolveDecorators(java.util.Set<java.lang.reflect.Type> types, java.lang.annotation.Annotation... qualifiers)
resolveDecorators in interface BeanManagertypes - the types to match for the decoratorqualifiers - qualifying bindingspublic void addConfiguredClass(java.lang.String className)
public XmlCookie generateXmlCookie()
public void addLoader()
public void update()
public void updateResources()
public void processPendingAnnotatedTypes()
public <X> void discoverBean(AnnotatedType<X> beanType)
public <T> InjectionTarget<T> processInjectionTarget(InjectionTarget<T> target, AnnotatedType<T> ann)
public <X> void addProduces(Bean<X> bean, AnnotatedType<X> beanType)
public <X> void addManagedProduces(Bean<X> bean, AnnotatedType<X> beanType)
public <X,T> void addProducesBean(ProducesMethodBean<X,T> bean)
public <X,T> void addProducesFieldBean(ProducesFieldBean<X,T> bean)
public <X> void addManagedBeanDiscover(ManagedBeanImpl<X> managedBean)
public <X> void addManagedBean(ManagedBeanImpl<X> managedBean)
public <T> java.util.ArrayList<T> loadServices(java.lang.Class<T> serviceClass)
public <T> java.util.ArrayList<T> loadLocalServices(java.lang.Class<T> serviceClass)
public void addExtension(Extension extension)
public void bind()
public void bindGlobals()
public void environmentConfigure(EnvironmentClassLoader loader)
environmentConfigure in interface EnvironmentListenerpublic void environmentBind(EnvironmentClassLoader loader)
environmentBind in interface EnvironmentListenerpublic void environmentStart(EnvironmentClassLoader loader)
environmentStart in interface EnvironmentListenerpublic void initialize()
public void start()
public void notifyStart()
public void addDefinitionError(java.lang.Throwable t)
public java.lang.RuntimeException getConfigException()
public void addConfiguredBean(java.lang.String className)
public void addXmlInjectionTarget(long cookie,
InjectionTarget<?> target)
public InjectionTarget<?> getXmlInjectionTarget(long cookie)
public void environmentStop(EnvironmentClassLoader loader)
environmentStop in interface EnvironmentListenerpublic void destroy()
public static ConfigException injectError(java.lang.reflect.AccessibleObject prop, java.lang.String msg)
public static java.lang.String location(java.lang.reflect.Field field)
public static java.lang.String location(java.lang.reflect.Method method)
public static ConfigException error(java.lang.reflect.Method method, java.lang.String msg)
public void setSerializationHandle(java.lang.Object handle)
HandleAwaresetSerializationHandle in interface HandleAwarepublic java.lang.Object writeReplace()
public void checkActive()
public boolean isClosed()
public java.lang.String toString()
toString in class java.lang.Object