See: Description
Interface | Description |
---|---|
AbstractBeanFactory |
This is the abstract base interface for
BeanFactory and BeanPrototypeBuilder . |
Bean |
This is the interface for a generic bean based on
generic
properties . |
BeanAccess |
This is the interface for all generic operations on a
Bean . |
BeanFactory | |
BeanPrototypeBuilder |
This is the interface for a builder of
Bean prototypes. |
CustomEquals<E extends CustomEquals<E>> |
This is the interface that a
Bean may implement when providing a custom
implementation of #equals(Object) .Note: It is not technically required to implement this interface in your Bean . |
CustomHashCode |
This is the interface that a
Bean may implement when providing a custom implementation of
#hashCode() . |
Bean
API provided here saves you from all this pain and makes your life a lot
easier. All you need to do is to write an interface for your beans that derive from
Bean
with property
access
methods. You can still define getters and setters if you like but there is no need to implement any method. For a
complete list of features or an code example see Bean
. In order to create instances
of a custom Bean
interface, you can simply use
BeanFactory.create(Class)
. You may also add a static create()
method in your
Bean
interface to make the usage as simple as possible.Copyright © 2001–2016 mmm-Team. All rights reserved.