Package | Description |
---|---|
org.osgi.service.wireadmin |
Wire Admin Package Version 1.0.
|
Modifier and Type | Method and Description |
---|---|
Wire |
WireAdmin.createWire(java.lang.String producerPID,
java.lang.String consumerPID,
java.util.Dictionary<java.lang.String,?> properties)
Create a new
Wire object that connects a Producer service to a
Consumer service. |
Wire |
WireAdminEvent.getWire()
Return the
Wire object associated with this event. |
Wire[] |
WireAdmin.getWires(java.lang.String filter)
Return the
Wire objects that match the given filter . |
Modifier and Type | Method and Description |
---|---|
void |
Producer.consumersConnected(Wire[] wires)
Update the list of
Wire objects to which this Producer
object is connected. |
void |
WireAdmin.deleteWire(Wire wire)
Delete a
Wire object. |
java.lang.Object |
Producer.polled(Wire wire)
Return the current value of this
Producer object. |
void |
Consumer.producersConnected(Wire[] wires)
Update the list of
Wire objects to which this Consumer service is
connected. |
void |
Consumer.updated(Wire wire,
java.lang.Object value)
Update the value.
|
void |
WireAdmin.updateWire(Wire wire,
java.util.Dictionary<java.lang.String,?> properties)
Update the properties of a
Wire object. |
Constructor and Description |
---|
WireAdminEvent(ServiceReference<WireAdmin> reference,
int type,
Wire wire,
java.lang.Throwable exception)
Constructs a
WireAdminEvent object from the given
ServiceReference object, event type, Wire object and
exception. |
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0