|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.UCL.satin.impl.MiToolkitDeployer.HashLMU
HashLMU denotes an LMU that uses hashtables to store its contents.
Field Summary | |
private java.util.Hashtable |
classes
|
private java.util.Hashtable |
components
|
private java.util.Hashtable |
data
|
private Handler |
handler
|
private java.util.Hashtable |
objects
|
private java.util.Hashtable |
properties
|
Constructor Summary | |
HashLMU(java.lang.String TARG,
java.lang.String LTARG)
Creates a new LMU |
Method Summary | |
void |
addAttribute(GenericAttribute attr)
Adds an attribute to the lmu |
void |
addClass(java.lang.Class c)
Adds a class to the current lmu. |
void |
addComponent(Component c)
Adds a new component to the LMU |
void |
addData(java.lang.Object d)
Adds data to the lmu |
void |
addHandler(Handler h)
Adds a Handler to the lmu |
void |
addObject(java.lang.Object o)
Adds an Object to the current lmu. |
GenericAttribute |
getAttribute(java.lang.Object key)
Returns an attribute from the lmu |
java.util.Enumeration |
getClasses()
Returns the classes stored in this lmu |
java.util.Enumeration |
getComponents()
Returns the components stored in this lmu. |
java.util.Enumeration |
getData()
Returns the data stored in this lmu |
Handler |
getHandler()
Returns the Handler for this lmu |
java.util.Enumeration |
getObjects()
Returns the objects stored in this lmu |
java.util.Enumeration |
getProperties()
Returns the properties of this lmu |
boolean |
hasAttribute(java.lang.Object key)
Checks whether the LMU has an attribute with the given key |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Hashtable data
private java.util.Hashtable components
private java.util.Hashtable classes
private java.util.Hashtable objects
private java.util.Hashtable properties
private Handler handler
Constructor Detail |
public HashLMU(java.lang.String TARG, java.lang.String LTARG)
TARG
- the target ip address/port of the DeployerLTARG
- the ID of the reflective component that this LMU is
specifically targetted atMethod Detail |
public void addComponent(Component c)
LMU
addComponent
in interface LMU
c
- The component to addpublic void addClass(java.lang.Class c)
LMU
addClass
in interface LMU
c
- The class to add.public void addObject(java.lang.Object o)
LMU
addObject
in interface LMU
o
- The object to add.public void addData(java.lang.Object d)
LMU
addData
in interface LMU
d
- the data to addpublic void addHandler(Handler h)
LMU
addHandler
in interface LMU
h
- the Handler to addpublic void addAttribute(GenericAttribute attr)
LMU
addAttribute
in interface LMU
attr
- The attribute to addpublic GenericAttribute getAttribute(java.lang.Object key)
LMU
getAttribute
in interface LMU
key
- the key of the attribute
public java.util.Enumeration getProperties()
LMU
getProperties
in interface LMU
public Handler getHandler()
LMU
getHandler
in interface LMU
public java.util.Enumeration getObjects()
LMU
getObjects
in interface LMU
public java.util.Enumeration getClasses()
LMU
getClasses
in interface LMU
public java.util.Enumeration getData()
LMU
getData
in interface LMU
public java.util.Enumeration getComponents()
LMU
getComponents
in interface LMU
public boolean hasAttribute(java.lang.Object key)
LMU
hasAttribute
in interface LMU
key
- The attribute key
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |