|
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 AbleRemoteBeanRemoteContainer interface defines behavior for remote ABLE objects that can contain multiple AbleRemoteBean objects.
Method Summary | |
---|---|
void |
addRemoteBean(AbleRemoteBean theAbleBean)
Adds a bean to this container. |
boolean |
containsRemoteBean(AbleRemoteBean theAbleBean)
Indicates if a specific bean is contained is present. |
boolean |
containsRemoteBean(java.lang.String theName)
Indicates if a bean with a specific name is present. |
AbleRemoteBean |
getRemoteBean(java.lang.String theName)
Returns a bean with a specific name from this container. |
java.util.Vector |
getRemoteBeans()
Returns a list of all contained beans. |
void |
removeAllRemoteBeans()
Removes all beans from this container. |
void |
removeRemoteBean(AbleRemoteBean theAbleBean)
Removes a bean from this container, and sets the bean's parent to null . |
void |
removeRemoteBean(java.lang.String theName)
Removes a bean from this container using the bean's name as a key. |
Method Detail |
public void addRemoteBean(AbleRemoteBean 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 removeRemoteBean(AbleRemoteBean 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 removeRemoteBean(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 removeAllRemoteBeans() throws java.rmi.RemoteException
null
.java.rmi.RemoteException
- If an error occurs.public boolean containsRemoteBean(AbleRemoteBean theAbleBean) throws java.rmi.RemoteException
theAbleBean
- A bean that to find in this container.
java.rmi.RemoteException
- If an error occurs.public boolean containsRemoteBean(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 AbleRemoteBean getRemoteBean(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 getRemoteBeans() 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 |