|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - is the generic type of the JAXB bean.public interface JaxbBeanHolder<T>
This class is a container holding a JAXB bean. Storing
this JaxbBeanHolder instead of the bean itself in
a field of some class allows the actual bean to be
reloaded in the meantime. If Flushable is
implemented, then it can also be saved via Flushable.flush().
| Method Summary | |
|---|---|
T |
getBean()
This method gets the current JAXB bean. |
boolean |
refresh()
This method will reload the configuration if it has
changed. |
| Method Detail |
|---|
T getBean()
boolean refresh()
configuration if it has
changed.
This method refreshes the given object. This can be anything from reloading
configuration to rebuilding the internal state. An invocation of this
method may be expensive and should only be invoked as needed. The
implementation of this method should be thread-safe if the object itself is
to be used by separate consumers at all.
refresh in interface Refreshabletrue if something has changed, false
otherwise. If the implementation can not determine the change it
should return true.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||