|
OSGi™ Service Platform Release 4 Version 4.2 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.osgi.service.wireadmin.BasicEnvelope
public class BasicEnvelope
BasicEnvelope is an implementation of the Envelope
interface
| Constructor Summary | |
|---|---|
BasicEnvelope(java.lang.Object value,
java.lang.Object identification,
java.lang.String scope)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getIdentification()
Return the identification of this Envelope object. |
java.lang.String |
getScope()
Return the scope name of this Envelope object. |
java.lang.Object |
getValue()
Return the value associated with this Envelope object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicEnvelope(java.lang.Object value,
java.lang.Object identification,
java.lang.String scope)
value - Content of this envelope, may be null.identification - Identifying object for this Envelope
object, must not be nullscope - Scope name for this object, must not be nullEnvelope| Method Detail |
|---|
public java.lang.Object getValue()
EnvelopeEnvelope object.
getValue in interface Envelopenull when no item is
associated with this object.Envelope.getValue()public java.lang.Object getIdentification()
EnvelopeEnvelope object.
An identification may be of any Java type. The type must be mutually
agreed between the Consumer and Producer services.
getIdentification in interface EnvelopeEnvelope.getIdentification()public java.lang.String getScope()
EnvelopeEnvelope 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 in interface EnvelopeEnvelope.getScope()
|
OSGi™ Service Platform Release 4 Version 4.2 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||