|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcuba.AbstractComponent
cuba.AbstractAnnotatedComponent
public class AbstractAnnotatedComponent
Derivation of AbstractComponent adding annotations to all
lifecycle methods. This base class may be used to provide backwards
compatibility to CUBA 1 even when moving to annotation-based
component definitions.
| Constructor Summary | |
|---|---|
AbstractAnnotatedComponent()
|
|
| Method Summary | |
|---|---|
void |
drop()
Empty |
void |
init()
Empty |
void |
setContext(ComponentContextI context)
Stores the provided context in a member variable which can be accessed by AbstractComponent.getContext() |
| Methods inherited from class cuba.AbstractComponent |
|---|
getContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractAnnotatedComponent()
| Method Detail |
|---|
public void init()
init in interface ComponentIinit in class AbstractComponentpublic void drop()
drop in interface ComponentIdrop in class AbstractComponent
public void setContext(ComponentContextI context)
throws ComponentException
AbstractComponent.getContext()
setContext in interface ComponentIsetContext in class AbstractComponentComponentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||