Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.aendvari.cerberus.component.descriptor
Class MessageSignature  view MessageSignature download MessageSignature.java

java.lang.Object
  extended bycom.aendvari.cerberus.component.descriptor.MessageSignature

public class MessageSignature
extends java.lang.Object

Represents the set of properties comprising the signature of a com.aendvari.hermes.broker.Message.

Message signatures are used to explicitly describe a component's interface to other components.


Field Summary
protected  java.util.HashMap properties
          The properties of the signature.
 
Constructor Summary
MessageSignature()
          Constructs a MessageSignature instance.
MessageSignature(MessageSignature signature)
          Constructs a MessageSignature instance as a copy of the one supplied.
 
Method Summary
 void addProperty(SignatureProperty property)
          Adds a property to this signature.
 java.util.Collection getProperties()
          Returns the properties of this signature.
 SignatureProperty getProperty(java.lang.String name)
          Returns the specified property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

properties

protected java.util.HashMap properties
The properties of the signature.

Constructor Detail

MessageSignature

public MessageSignature()
Constructs a MessageSignature instance.


MessageSignature

public MessageSignature(MessageSignature signature)
Constructs a MessageSignature instance as a copy of the one supplied.

Method Detail

addProperty

public void addProperty(SignatureProperty property)
Adds a property to this signature.


getProperty

public SignatureProperty getProperty(java.lang.String name)
Returns the specified property.


getProperties

public java.util.Collection getProperties()
Returns the properties of this signature.