Package com.mchange.v2.naming
Class ApparentlyLocalNameGuard
- java.lang.Object
-
- com.mchange.v2.naming.ApparentlyLocalNameGuard
-
-
Constructor Summary
Constructors Constructor Description ApparentlyLocalNameGuard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleannameIsAcceptable(java.lang.String name)booleannameIsAcceptable(javax.naming.Name name)java.lang.StringonlyAcceptableWhen()This should be a descriptive message that might follow "names are only acceptable when " A period will be appended to the message.
-
-
-
Method Detail
-
nameIsAcceptable
public boolean nameIsAcceptable(javax.naming.Name name)
- Specified by:
nameIsAcceptablein interfaceNameGuard
-
nameIsAcceptable
public boolean nameIsAcceptable(java.lang.String name)
- Specified by:
nameIsAcceptablein interfaceNameGuard
-
onlyAcceptableWhen
public java.lang.String onlyAcceptableWhen()
Description copied from interface:NameGuardThis should be a descriptive message that might follow "names are only acceptable when " A period will be appended to the message. (No terminal period should be included in the String.)- Specified by:
onlyAcceptableWhenin interfaceNameGuard
-
-