? BasicEnvelope

java.lang.Object
org.osgi.service.wireadmin.BasicEnvelope
????????:
Envelope

public class BasicEnvelope extends Object implements Envelope
BasicEnvelope is an implementation of the Envelope interface
  • ???????

    • BasicEnvelope

      public BasicEnvelope(Object value, Object identification, String scope)
      Constructor.
      ??:
      value - Content of this envelope, may be null.
      identification - Identifying object for this Envelope object, must not be null
      scope - Scope name for this object, must not be null
      ????:
  • ??????

    • getValue

      public Object getValue()
      ????????: Envelope
      Return the value associated with this Envelope object.
      ???:
      getValue ???? Envelope
      ??:
      the value of the status item, or null when no item is associated with this object.
      ????:
    • getIdentification

      public Object getIdentification()
      ????????: Envelope
      Return the identification of this Envelope object. An identification may be of any Java type. The type must be mutually agreed between the Consumer and Producer services.
      ???:
      getIdentification ???? Envelope
      ??:
      an object which identifies the status item in the address space of the composite producer, must not be null.
      ????:
    • getScope

      public String getScope()
      ????????: Envelope
      Return the scope name of this Envelope object. Scope names are used to restrict the communication between the Producer and Consumer services. Only Envelopes objects with a scope name that is permitted for the Producer and the Consumer services must be passed through a Wire object.
      ???:
      getScope ???? Envelope
      ??:
      the security scope for the status item, must not be null.
      ????: