jgroup
Class GroupManager.Component

java.lang.Object
  |
  +--jgroup.GroupManager.Component
Enclosing class:
GroupManager

final class GroupManager.Component
extends java.lang.Object

Since:
Jgroup 0.9
Author:
Alberto Montresor

Field Summary
(package private)  java.util.HashMap consumers
          Hash table which maps the interfaces of the services provided by this layer into the corresponding component
(package private)  java.lang.Class layerClass
          The class implemented by this layer
(package private)  java.util.HashMap providers
          Hash table which maps the interfaces of the services requested by this layer into the corresponding component
 
Constructor Summary
(package private) GroupManager.Component(java.lang.Class cl)
           
(package private) GroupManager.Component(java.lang.Object server)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares two Components for content equality.
private  GroupManager.Component getProvider(java.lang.Class listener, java.util.ArrayList components, int last)
           
(package private)  void getProviders(java.util.ArrayList components, int last)
           
 
Methods inherited from class java.lang.Object
, clone, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

layerClass

java.lang.Class layerClass
The class implemented by this layer

consumers

java.util.HashMap consumers
Hash table which maps the interfaces of the services provided by this layer into the corresponding component

providers

java.util.HashMap providers
Hash table which maps the interfaces of the services requested by this layer into the corresponding component
Constructor Detail

GroupManager.Component

GroupManager.Component(java.lang.Class cl)
                 throws JgroupException

GroupManager.Component

GroupManager.Component(java.lang.Object server)
                 throws JgroupException
Method Detail

getProviders

void getProviders(java.util.ArrayList components,
                  int last)
            throws JgroupException

getProvider

private GroupManager.Component getProvider(java.lang.Class listener,
                                           java.util.ArrayList components,
                                           int last)
                                    throws JgroupException

equals

public boolean equals(java.lang.Object obj)
Compares two Components for content equality.
Overrides:
equals in class java.lang.Object
Parameters:
obj - the Object to compare with
Returns:
true if these Objects are equal; false otherwise.