On Mon, Aug 31, 2009 at 12:54 AM, Emmanuel Lecharny <email@example.com> wrote:
Alex Karasulu wrote:We don't need it. The byOid( String ) method (implemented in SchemaRegistries) retrieves the OID when a name or an oid is provided. You can do :
I'm running into several bugs and workaround because a byName hash was never
implemented in the new SchemaObject. I guess this functionality had to be
taken out of the OidRegistry and placed into specific type registries to
avoid name collisions. However I thought there would be a byName hash.
Any reason why this was explicitly not created ?
String oid = attributeTypeRegistry.byOid( "ou" );
String oid = attributeTypeRegistry.byOid( "126.96.36.199" );
That should be enough for our need.