|
ABLE, Version 1.1b | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class defines the interface for ABLE objects that are composed of, or can contain multiple AbleBean objects.
Method Summary | |
void |
addBean(AbleBean theAbleBean)
Add another bean to this container. |
boolean |
containsBean(AbleBean theAbleBean)
Determine whether a specific agent is contained in this agent. |
boolean |
containsBean(java.lang.String theName)
Determine whether a bean with a specific name is contained in this agent. |
AbleBean |
getBean(java.lang.String theName)
Look for a bean with a specific name in this agent, and, if found, return a reference to that agent. |
java.util.Vector |
getBeans()
Return a list of all beans contained within this agent. |
void |
removeAllBeans()
Remove all beans from this container/agent. |
void |
removeBean(AbleBean theAbleBean)
Remove a bean from this container/agent. |
Method Detail |
public void addBean(AbleBean theAbleBean) throws java.rmi.RemoteException
theAbleBean
- A bean that is to be added to this container. If the specified
agent is already contained in this agent, WHAT?? *FIX*
removeBean(com.ibm.able.AbleBean)
,
containsBean(com.ibm.able.AbleBean)
,
getBean(java.lang.String)
,
getBeans()
public void removeBean(AbleBean theAbleBean) throws java.rmi.RemoteException
theAbleBean
- A bean that is to be removed from this agent. If the
specified bean is not contained in this agent, the
implementor may either throw an exception or ignore the
request as desired.
public void removeAllBeans() throws java.rmi.RemoteException
public boolean containsBean(AbleBean theAbleBean) throws java.rmi.RemoteException
theAbleBean
- A bean that is to be looked for in this agent.
public boolean containsBean(java.lang.String theName) throws java.rmi.RemoteException
theName
- The specific name of a bean that is to be looked for in this
agent.
public AbleBean getBean(java.lang.String theName) throws java.rmi.RemoteException
theName
- The specific name of an agent that is to be looked for in this
agent and, if found, returned.
public java.util.Vector getBeans() throws java.rmi.RemoteException
|
ABLE, Version 1.1b | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |