T
- The typepublic class BeanRegistration<T> extends Object
A bean registration is an association between a BeanDefinition
and a created bean, typically a
Singleton
.
Constructor and Description |
---|
BeanRegistration(BeanIdentifier identifier,
BeanDefinition<T> beanDefinition,
T bean) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
T |
getBean() |
BeanDefinition<T> |
getBeanDefinition() |
BeanIdentifier |
getIdentifier() |
int |
hashCode() |
String |
toString() |
public BeanRegistration(BeanIdentifier identifier, BeanDefinition<T> beanDefinition, T bean)
identifier
- The bean identifierbeanDefinition
- The bean definitionbean
- The bean instancepublic BeanIdentifier getIdentifier()
public BeanDefinition<T> getBeanDefinition()
public T getBean()