This service can be used to create Wire objects connecting a Producer
service and a Consumer service. Wire objects also have wire
properties that may be specified when a Wire object is created. The
Producer and Consumer services may use the Wire object's properties
to manage or control their interaction. The use of Wire object's
properties by a Producer or Consumer services is optional.
Security Considerations. A bundle must have
ServicePermission[WireAdmin,GET] to get the Wire Admin service to
create, modify, find, and delete Wire objects.
| Modifier and Type | Method and Description |
|---|---|
| public Wire | Returns: TheWire object for this connection.The producerPID, String service.pid of the Producer service to be
connected to the Wire object.The consumerPID, Dictionary<String, ?> service.pid of the Consumer service to be
connected to the Wire object.The properties)Wire object's properties. This argument may
be null if the caller does not wish to define any
Wire object's properties.Create a new |
| public void | |
| public Wire[] | |
| public void | updateWire(Wire
The wire, Dictionary<String, ?> Wire object which is to be updated.The new properties)Wire object's properties or
null if no properties are required.Update the properties of a |
| createWire | back to summary |
|---|---|
| public Wire createWire(String producerPID, String consumerPID, Dictionary<String, ?> properties) Create a new
The
The
The
properties argument already contains any of these keys,
then the supplied values are replaced with the values assigned by the
Wire Admin service.
The Wire Admin service must broadcast a
| |
| deleteWire | back to summary |
|---|---|
| public void deleteWire(Wire wire) Delete a
The
The Wire Admin service must broadcast a
| |
| getWires | back to summary |
|---|---|
| public Wire[] getWires(String filter) throws InvalidSyntaxException Return the
The list of available
The filter matches against the
| |
| updateWire | back to summary |
|---|---|
| public void updateWire(Wire wire, Dictionary<String, ?> properties) Update the properties of a
The Wire Admin service must broadcast a
| |