org.ops4j.pax.radman.service.event.repeater
Interface EventQueue<E>

All Superinterfaces:
java.util.Collection<E>, java.lang.Iterable<E>, java.util.Queue<E>
All Known Implementing Classes:
EventQueueImpl

public interface EventQueue<E>
extends java.util.Queue<E>

Queue that is a sink for all OSGi Events. Depending on which side of the divide it is on, its role will differ.

Since:
0.1.0
Author:
Gavin Bong

Field Summary
static java.lang.String ROLE
          OSGi service property to denote where this queue resides.
static java.lang.String ROLE_GATEWAY
          Represents a value for the ROLE service property.
static java.lang.String ROLE_HOST
          Represents a value for the ROLE service property.
 
Method Summary
 
Methods inherited from interface java.util.Queue
element, offer, peek, poll, remove
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Field Detail

ROLE

static final java.lang.String ROLE
OSGi service property to denote where this queue resides.

See Also:
Constant Field Values

ROLE_GATEWAY

static final java.lang.String ROLE_GATEWAY
Represents a value for the ROLE service property. Implies that the EventQueue will be a container of EventMessages.

See Also:
Constant Field Values

ROLE_HOST

static final java.lang.String ROLE_HOST
Represents a value for the ROLE service property. Implies that the EventQueue will be a container of Events.

See Also:
Constant Field Values


Copyright © 2008. All Rights Reserved.