|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SCAContentController
Content control interface for SCA primitive components.
Field Summary | |
---|---|
static java.lang.String |
NAME
NAME of the content controller. |
Method Summary | |
---|---|
java.lang.Object |
getFcContent()
Return the current content instance. |
java.lang.Class<?> |
getFcContentClass()
Return the content class associated with this component. |
void |
setFcContent(java.lang.Object content)
For composite-scoped components, specify the content instance to be used. |
void |
setFcContentClass(java.lang.Class<?> c)
Declare the content class associated with this component. |
Field Detail |
---|
static final java.lang.String NAME
NAME
of the content controller.
Method Detail |
---|
void setFcContentClass(java.lang.Class<?> c) throws IllegalLifeCycleException, ContentInstantiationException
c
- the content class
IllegalLifeCycleException
- if the component is not stopped
ContentInstantiationException
- if the content can not be instantiatedjava.lang.Class<?> getFcContentClass()
java.lang.Object getFcContent() throws ContentInstantiationException
ContentInstantiationException
- if the content can not be instantiatedvoid setFcContent(java.lang.Object content) throws IllegalLifeCycleException, ContentInstantiationException
content
- the content instance
IllegalLifeCycleException
- if the component is not stopped
ContentInstantiationException
- if the content can not be initialized or
if the component is not composite-scoped
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |