|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A global registry of all open views
and transactions
.
Nested Class Summary | |
---|---|
static interface |
CDOViewRegistry.Registration
A bidirectional mapping between a registered view and its class loader -wide ID . |
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer |
---|
IContainer.Modifiable<E> |
Field Summary | |
---|---|
static CDOViewRegistry |
INSTANCE
The class loader -wide singleton instance of the view registry . |
static int |
NOT_REGISTERED
A symbolic constant returned from getID(CDOView) if the view is not registered. |
Method Summary | |
---|---|
int |
getID(CDOView view)
Returns the ID of the given view if it is registered, 0 otherwise. |
int[] |
getIDs()
Returns the IDs of all registered views . |
CDOView |
getView(int id)
Returns the view with the given ID if it is registered, null otherwise. |
CDOView[] |
getViews()
Returns all registered views . |
Methods inherited from interface org.eclipse.net4j.util.container.IContainer |
---|
getElements, isEmpty |
Methods inherited from interface org.eclipse.net4j.util.event.INotifier |
---|
addListener, getListeners, hasListeners, removeListener |
Field Detail |
---|
static final CDOViewRegistry INSTANCE
class loader
-wide singleton instance of the view registry
.
static final int NOT_REGISTERED
getID(CDOView)
if the view is not registered.
Method Detail |
---|
int[] getIDs()
IDs
of all registered views
.
CDOView[] getViews()
views
.
int getID(CDOView view)
ID
of the given view
if it is registered, 0 otherwise.
CDOView getView(int id)
view
with the given ID
if it is registered, null
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |