|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Controller
The Controller interface defines the a contract for an object that provides generalized part loading.
Field Summary | |
---|---|
static Controller |
STANDARD
Static default controller. |
Method Summary | |
---|---|
Component |
createComponent(Model model)
Create and return a remote reference to a component handler. |
Component |
createComponent(URI uri)
Create and return a remote reference to a component handler. |
Model |
createModel(Composition composition)
Create and return a new management context using the supplied directive uri. |
Model |
createModel(URI uri)
Create and return a new management context using the supplied directive uri. |
URI |
getURI()
Returns the identity of the object implementing this interface. |
Field Detail |
---|
static final Controller STANDARD
Method Detail |
---|
URI getURI()
Model createModel(URI uri) throws ControlException, IOException
uri
- a uri identifying a deployment directive
ControlException
- if an error occurs
IOException
- if an I/O error occursModel createModel(Composition composition) throws ControlException, IOException
composition
- a composition directive
ControlException
- if an error occurs
IOException
- if an I/O error occursComponent createComponent(URI uri) throws Exception
uri
- a uri identifying a deployment directive
Exception
- if an error occursComponent createComponent(Model model) throws Exception
model
- the management context
Exception
- if a component construction error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |