Class DefaultOIDAllocator

    • Method Detail

      • getInstance

        public static DefaultOIDAllocator getInstance()
        Retrieves the singleton instance of this OID allocator.
        Returns:
        The singleton instance of this OID allocator.
      • allocateAttributeTypeOID

        public java.lang.String allocateAttributeTypeOID​(java.lang.String name)
        Allocates an OID for the attribute type with the specified name.
        Specified by:
        allocateAttributeTypeOID in class OIDAllocator
        Parameters:
        name - The name of the attribute type for which to generate an OID. It must not be null or empty.
        Returns:
        The OID to use for the attribute type definition.
      • allocateObjectClassOID

        public java.lang.String allocateObjectClassOID​(java.lang.String name)
        Allocates an OID for the object class with the specified name.
        Specified by:
        allocateObjectClassOID in class OIDAllocator
        Parameters:
        name - The name of the object class for which to generate an OID. It must not be null or empty.
        Returns:
        The OID to use for the object class definition.