|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cuba.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 ComponentI
init
in class AbstractComponent
public void drop()
drop
in interface ComponentI
drop
in class AbstractComponent
public void setContext(ComponentContextI context) throws ComponentException
AbstractComponent.getContext()
setContext
in interface ComponentI
setContext
in class AbstractComponent
ComponentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |