|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bbn.openmap.SoloMapComponentRejectPolicy
public class SoloMapComponentRejectPolicy
A SoloMapComponentPolicy that rejects attempts to add a duplicate SoloMapComponent to the BeanContext.
| Constructor Summary | |
|---|---|
SoloMapComponentRejectPolicy()
|
|
| Method Summary | |
|---|---|
boolean |
canAdd(java.beans.beancontext.BeanContextSupport bc,
java.lang.Object obj)
Ask whether an object can be added to the to the context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SoloMapComponentRejectPolicy()
| Method Detail |
|---|
public boolean canAdd(java.beans.beancontext.BeanContextSupport bc,
java.lang.Object obj)
throws MultipleSoloMapComponentException
SoloMapComponentPolicy
canAdd in interface SoloMapComponentPolicybc - BeanContext, or MapHandlerobj - the object to check before adding to MapHandler
MultipleSoloMapComponentException - if a duplicate
instance of SoloMapComponent exists.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||