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

Quick Search    Search Deep

com.aendvari.cerberus.component.assembly
Class AssemblyContext  view AssemblyContext download AssemblyContext.java

java.lang.Object
  extended bycom.aendvari.cerberus.component.assembly.AssemblyContext

public class AssemblyContext
extends java.lang.Object

Provides context data during component assembly.

The com.aendvari.hermes.broker.MessageBroker is provided for message subscription and publishing during the assembly process.

The context may have several properties. The properties are stored in a (com.aendvari.common.properties.Properties) object, allowing them to be stored in a hierarchy.


Field Summary
protected  com.aendvari.hermes.broker.MessageBroker broker
          The com.aendvari.hermes.broker.MessageBroker to subscribe/publish message with.
protected  com.aendvari.common.properties.Properties properties
          Contains user defined attributes.
 
Constructor Summary
AssemblyContext(com.aendvari.hermes.broker.MessageBroker setBroker)
          Constructs a AssemblyContext instance.
 
Method Summary
 com.aendvari.hermes.broker.MessageBroker getMessageBroker()
          Returns the com.aendvari.hermes.broker.MessageBroker associated with this context.
 com.aendvari.common.properties.Properties getProperties()
          Returns the properties associated with this context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

broker

protected com.aendvari.hermes.broker.MessageBroker broker
The com.aendvari.hermes.broker.MessageBroker to subscribe/publish message with.


properties

protected com.aendvari.common.properties.Properties properties
Contains user defined attributes.

Constructor Detail

AssemblyContext

public AssemblyContext(com.aendvari.hermes.broker.MessageBroker setBroker)
Constructs a AssemblyContext instance.

Method Detail

getProperties

public com.aendvari.common.properties.Properties getProperties()
Returns the properties associated with this context.


getMessageBroker

public com.aendvari.hermes.broker.MessageBroker getMessageBroker()
Returns the com.aendvari.hermes.broker.MessageBroker associated with this context.