|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The AbleBeanRemoteContainer interface defines behavior for remote ABLE objects that can contain multiple local AbleBean objects.
Method Summary | |
---|---|
void |
addBean(AbleBean theAbleBean)
Adds a bean to this container. |
boolean |
containsBean(AbleBean theAbleBean)
Indicates if a specific bean is contained is present. |
boolean |
containsBean(java.lang.String theName)
Indicates if a bean with a specific name is present. |
AbleBean |
getBean(java.lang.String theName)
Returns a bean with a specific name from this container. |
java.util.Vector |
getBeans()
Returns a list of all contained beans. |
void |
removeAllBeans()
Removes all beans from this container. |
void |
removeBean(AbleBean theAbleBean)
Removes a bean from this container, and sets the bean's parent to null . |
void |
removeBean(java.lang.String theName)
Removes a bean from this container using the bean's name as a key. |
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
bean is already present, the implementation may choose to throw an exception.
java.rmi.RemoteException
- If an error occurs.public void removeBean(AbleBean theAbleBean) throws java.rmi.RemoteException
null
.theAbleBean
- A bean that is to be removed from this container.
If the specified bean is not present, the
implementor may either throw an exception or ignore the
request as desired.java.rmi.RemoteException
- If an error occurs.public void removeBean(java.lang.String theName) throws java.rmi.RemoteException
null
.theName
- The specific name of a bean to be removed from this container.
If the specified bean is not present, the
implementor may either throw an exception or ignore the
request as desired.java.rmi.RemoteException
- If an error occurs.public void removeAllBeans() throws java.rmi.RemoteException
null
.java.rmi.RemoteException
- If an error occurs.public boolean containsBean(AbleBean theAbleBean) throws java.rmi.RemoteException
theAbleBean
- A bean that to find in this container.
java.rmi.RemoteException
- If an error occurs.public boolean containsBean(java.lang.String theName) throws java.rmi.RemoteException
theName
- The specific name of a bean to find in this container.
java.rmi.RemoteException
- If an error occurs.public AbleBean getBean(java.lang.String theName) throws java.rmi.RemoteException
theName
- The specific name of a bean to be returned.java.rmi.RemoteException
- If an error occurs.public java.util.Vector getBeans() throws java.rmi.RemoteException
java.rmi.RemoteException
- If an error occurs.
|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |