Interface ReferenceMethods

  • All Known Implementing Classes:
    BindMethods, DuplexReferenceMethods, FieldMethods

    public interface ReferenceMethods
    ReferenceMethods holds pointers to methods for a single reference. The methods are used for event (method) injection and field injection.
    • The bind method
    • The unbind method
    • The updated method
    • The init method (optional, only used for field references)
    • Field Detail

      • NOPReferenceMethod

        static final ReferenceMethods NOPReferenceMethod
        This is a NOP implementation.
    • Method Detail

      • getBind

        ReferenceMethod getBind()
        Get the method to bind a service. Never returns null.
      • getUnbind

        ReferenceMethod getUnbind()
        Get the method to unbind a service. Never returns null.
      • getUpdated

        ReferenceMethod getUpdated()
        Get the method to update a service. Never returns null.
      • getInit

        InitReferenceMethod getInit()
        Get an optional method to initialize the component reference handling. This is optional and might return null