Package com.mchange.v2.naming
Interface NameGuard
-
- All Known Implementing Classes:
AnyNameNameGuard,ApparentlyLocalNameGuard,ApparentlyLocalOrFirstComponentIsJavaIdentifierNameGuard,FirstComponentIsJavaIdentifierNameGuard
public interface NameGuard
-
-
Method Summary
All Methods Instance Methods Abstract 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
boolean nameIsAcceptable(javax.naming.Name name)
-
nameIsAcceptable
boolean nameIsAcceptable(java.lang.String name)
-
onlyAcceptableWhen
java.lang.String onlyAcceptableWhen()
This 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.)
-
-