|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IModel
The interface definition for a PureMVC Model.
In PureMVC, IModel
implementors provide access to
IProxy
objects by named lookup.
An IModel
assumes these responsibilities:
IProxy
instancesIProxy
instances
Method Summary | |
---|---|
boolean |
hasProxy(java.lang.String proxyName)
Check if a Proxy is registered |
void |
registerProxy(IProxy proxy)
Register an IProxy instance with the Model . |
IProxy |
removeProxy(java.lang.String proxy)
Remove an IProxy instance from the Model. |
IProxy |
retrieveProxy(java.lang.String proxy)
Retrieve an IProxy instance from the Model. |
Method Detail |
---|
void registerProxy(IProxy proxy)
IProxy
instance with the Model
.
proxy
- an object reference to be held by the Model
.IProxy retrieveProxy(java.lang.String proxy)
IProxy
instance from the Model.
proxy
-
IProxy
instance previously registered with the
given proxyName
.IProxy removeProxy(java.lang.String proxy)
IProxy
instance from the Model.
proxy
- name of the IProxy
instance to be removed.boolean hasProxy(java.lang.String proxyName)
proxyName
-
proxyName
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |