@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class DefaultOIDAllocator extends OIDAllocator
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
allocateAttributeTypeOID(java.lang.String name)
Allocates an OID for the attribute type with the specified name.
|
java.lang.String |
allocateObjectClassOID(java.lang.String name)
Allocates an OID for the object class with the specified name.
|
static DefaultOIDAllocator |
getInstance()
Retrieves the singleton instance of this OID allocator.
|
@NotNull public static DefaultOIDAllocator getInstance()
@NotNull public java.lang.String allocateAttributeTypeOID(@NotNull java.lang.String name)
allocateAttributeTypeOID in class OIDAllocatorname - The name of the attribute type for which to generate an OID.
It must not be null or empty.@NotNull public java.lang.String allocateObjectClassOID(@NotNull java.lang.String name)
allocateObjectClassOID in class OIDAllocatorname - The name of the object class for which to generate an OID.
It must not be null or empty.