Class AdditionalResponses

  • All Implemented Interfaces:
    PropertySet

    public final class AdditionalResponses
    extends BasePropertySet
    Author:
    Marek Potociar (marek.potociar at sun.com)
    • Constructor Detail

      • AdditionalResponses

        public AdditionalResponses()
    • Method Detail

      • getAdditionalResponsePacketQueue

        @NotNull
        public Queue<Packet> getAdditionalResponsePacketQueue()
      • getPropertyMap

        protected BasePropertySet.PropertyMap getPropertyMap()
        Description copied from class: BasePropertySet
        Map representing the Fields and Methods annotated with PropertySet.Property. Model of PropertySet class.

        At the end of the derivation chain this method just needs to be implemented as:

         private static final PropertyMap model;
         static {
           model = parse(MyDerivedClass.class);
         }
         protected PropertyMap getPropertyMap() {
           return model;
         }
         
        or if the implementation is in different Java module.
         private static final PropertyMap model;
         static {
           model = parse(MyDerivedClass.class, MethodHandles.lookup());
         }
         protected PropertyMap getPropertyMap() {
           return model;
         }
         
        Specified by:
        getPropertyMap in class BasePropertySet
        Returns:
        the map of strongly-typed known properties keyed by property names