public abstract class AbstractIOCBean<T> extends Object implements IOCBeanDef<T>
Modifier and Type | Field and Description |
---|---|
protected Class<?> |
beanType |
protected boolean |
concrete |
protected String |
name |
protected Set<Annotation> |
qualifiers |
protected Class<T> |
type |
Constructor and Description |
---|
AbstractIOCBean() |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getBeanClass()
Returns the actual bean class represented by this bean.
|
String |
getName()
Returns the name of the bean.
|
Set<Annotation> |
getQualifiers()
Returns a set of qualifiers associated with this bean
|
Class<T> |
getType()
Returns the absolute type of the bean
|
boolean |
isConcrete()
Returns true if the bean is a concrete bean definition and not an interface or abstract type.
|
boolean |
matches(Set<Annotation> annotations)
Returns true if the underlying bean contains all of the annotations specified.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getInstance, getInstance, getScope, isActivated, newInstance
protected String name
protected Class<?> beanType
protected Set<Annotation> qualifiers
protected boolean concrete
public Class<T> getType()
getType
in interface IOCBeanDef<T>
IOCBeanDef.getBeanClass()
public Class<?> getBeanClass()
IOCBeanDef
getBeanClass
in interface IOCBeanDef<T>
public String getName()
IOCBeanDef
getName
in interface IOCBeanDef<T>
public boolean isConcrete()
IOCBeanDef
isConcrete
in interface IOCBeanDef<T>
public Set<Annotation> getQualifiers()
getQualifiers
in interface IOCBeanDef<T>
public boolean matches(Set<Annotation> annotations)
matches
in interface IOCBeanDef<T>
annotations
- a set of annotations to compareCopyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.