Class ObjectKeyFactoryImpl

  • All Implemented Interfaces:
    ObjectKeyFactory

    public class ObjectKeyFactoryImpl
    extends java.lang.Object
    implements ObjectKeyFactory
    Singleton used to manufacture ObjectKey and ObjectKeyTemplate instances.
    • Constructor Detail

      • ObjectKeyFactoryImpl

        public ObjectKeyFactoryImpl​(ORB orb)
    • Method Detail

      • validMagic

        private boolean validMagic​(int magic)
        Returns true iff magic is in the range of valid magic numbers for our ORB.
      • create

        public ObjectKey create​(byte[] key)
        Description copied from interface: ObjectKeyFactory
        Create an ObjectKey from its octet sequence representation.
        Specified by:
        create in interface ObjectKeyFactory
        Parameters:
        key - representation of key
        Returns:
        created ObjectKey