|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.sgs.impl.util.BindingKeyedCollectionsImpl
public class BindingKeyedCollectionsImpl
An implementation of the collections factory. The kernel constructs
this factory during server initialization, and it is available to
services via the ComponentRegistry.
| Constructor Summary | |
|---|---|
BindingKeyedCollectionsImpl(TransactionProxy txnProxy)
Constructs an instance with the specified transaction proxy. |
|
| Method Summary | ||
|---|---|---|
(package private) static DataService |
getDataService()
Returns the data service relevant to the current context. |
|
|
newMap(String keyPrefix)
Constructs an instance of a BindingKeyedMap
with the specified keyPrefix. |
|
|
newSet(String keyPrefix)
Constructs an instance of a BindingKeyedSet
with the specified keyPrefix. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BindingKeyedCollectionsImpl(TransactionProxy txnProxy)
txnProxy - the transaction proxy| Method Detail |
|---|
public <V> BindingKeyedMap<V> newMap(String keyPrefix)
BindingKeyedMap
with the specified keyPrefix.
newMap in interface BindingKeyedCollectionsV - the type of the map's valueskeyPrefix - a key prefix
BindingKeyedMap with the specified
keyPrefixpublic <V> BindingKeyedSet<V> newSet(String keyPrefix)
BindingKeyedSet
with the specified keyPrefix.
newSet in interface BindingKeyedCollectionsV - the type of the set's valueskeyPrefix - a key prefix
BindingKeyedSet with the specified
keyPrefixstatic DataService getDataService()
BindingKeyedMapImpl to obtain the data
service to store key/value pairs.
IllegalStateException - if an instance of this class has not
been initialized
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||