org.abstracthorizon.extend.server.deployment
Class DeploymentManagerImpl.DeployedModules<KeyType,ValueType>

java.lang.Object
  extended by org.abstracthorizon.extend.server.support.EnhancedMap<KeyType,ValueType>
      extended by org.abstracthorizon.extend.server.deployment.DeploymentManagerImpl.DeployedModules<KeyType,ValueType>
All Implemented Interfaces:
Map<KeyType,ValueType>
Enclosing class:
DeploymentManagerImpl

protected class DeploymentManagerImpl.DeployedModules<KeyType,ValueType>
extends EnhancedMap<KeyType,ValueType>

This class keeps deployed modules. Also it keeps track of ProvisionalModules count.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.abstracthorizon.extend.server.support.EnhancedMap
EnhancedMap.InternalSet<Type>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
protected  int unknownLoaderModules
          Number of ProvisionalModules
 
Fields inherited from class org.abstracthorizon.extend.server.support.EnhancedMap
map, values
 
Constructor Summary
DeploymentManagerImpl.DeployedModules()
          Empty constractor
 
Method Summary
 void clear()
          Clears the map.
 ValueType get(Object key)
          Returns get value
 int getUnknownLoaderModulesCount()
          Returns the number of ProvisionalModules
 ValueType put(KeyType key, ValueType value)
          Adds new element to the map
 ValueType remove(Object key)
          Removes key from the map
 
Methods inherited from class org.abstracthorizon.extend.server.support.EnhancedMap
containsKey, containsValue, entrySet, isEmpty, keySet, main, putAll, size, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

unknownLoaderModules

protected int unknownLoaderModules
Number of ProvisionalModules

Constructor Detail

DeploymentManagerImpl.DeployedModules

public DeploymentManagerImpl.DeployedModules()
Empty constractor

Method Detail

get

public ValueType get(Object key)
Returns get value

Specified by:
get in interface Map<KeyType,ValueType>
Overrides:
get in class EnhancedMap<KeyType,ValueType>
Parameters:
key - key
Returns:
value

put

public ValueType put(KeyType key,
                     ValueType value)
Adds new element to the map

Specified by:
put in interface Map<KeyType,ValueType>
Overrides:
put in class EnhancedMap<KeyType,ValueType>
Parameters:
key - key
value - value
Returns:
previous value under that key

remove

public ValueType remove(Object key)
Removes key from the map

Specified by:
remove in interface Map<KeyType,ValueType>
Overrides:
remove in class EnhancedMap<KeyType,ValueType>
Parameters:
key - key
Returns:
value under that key

clear

public void clear()
Clears the map.

Specified by:
clear in interface Map<KeyType,ValueType>
Overrides:
clear in class EnhancedMap<KeyType,ValueType>

getUnknownLoaderModulesCount

public int getUnknownLoaderModulesCount()
Returns the number of ProvisionalModules

Returns:
the number of ProvisionalModules


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.