Class ApparentlyLocalNameGuard

  • All Implemented Interfaces:
    NameGuard

    public class ApparentlyLocalNameGuard
    extends java.lang.Object
    implements NameGuard
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean nameIsAcceptable​(java.lang.String name)  
      boolean nameIsAcceptable​(javax.naming.Name name)  
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ApparentlyLocalNameGuard

        public ApparentlyLocalNameGuard()
    • Method Detail

      • nameIsAcceptable

        public boolean nameIsAcceptable​(javax.naming.Name name)
        Specified by:
        nameIsAcceptable in interface NameGuard
      • nameIsAcceptable

        public boolean nameIsAcceptable​(java.lang.String name)
        Specified by:
        nameIsAcceptable in interface NameGuard
      • onlyAcceptableWhen

        public java.lang.String onlyAcceptableWhen()
        Description copied from interface: NameGuard
        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.)
        Specified by:
        onlyAcceptableWhen in interface NameGuard