public abstract class CommonBean<T> extends ForwardingBeanAttributes<T> implements Bean<T>
| Modifier | Constructor and Description |
|---|---|
protected |
CommonBean(BeanAttributes<T> attributes,
BeanIdentifier identifier) |
| Modifier and Type | Method and Description |
|---|---|
protected BeanAttributes<T> |
attributes() |
boolean |
equals(Object obj) |
String |
getId() |
BeanIdentifier |
getIdentifier() |
int |
hashCode() |
boolean |
isNullable()
Determines if
Contextual.create(CreationalContext) sometimes return a null value. |
void |
setAttributes(BeanAttributes<T> attributes) |
String |
toString() |
protected Object |
unwrap(Object object) |
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBeanClass, getInjectionPointscreate, destroygetName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeprotected CommonBean(BeanAttributes<T> attributes, BeanIdentifier identifier)
public boolean equals(Object obj)
equals in class ForwardingBeanAttributes<T>protected BeanAttributes<T> attributes()
attributes in class ForwardingBeanAttributes<T>public void setAttributes(BeanAttributes<T> attributes)
public boolean isNullable()
Bean
Determines if Contextual.create(CreationalContext) sometimes return a null value.
As of CDI 1.1 this method is deprecated and can safely always return false.
isNullable in interface Bean<T>create() method may return a null value, and false otherwisepublic int hashCode()
hashCode in class ForwardingBeanAttributes<T>public String getId()
public BeanIdentifier getIdentifier()
Copyright © 2014. All Rights Reserved.