Class BusRuntime


  • public class BusRuntime
    extends java.lang.Object
    Message bus implementations potentially vary in the features they provide and consequently in the components and properties they expose. The runtime is a container for all those dynamic properties and components and is meant to be passed around between collaborating objects such that they may access the different functionality provided by the bus implementation they all belong to. It is the responsibility of the bus implementation to create and configure the runtime according to its capabilities,
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Map<java.lang.String,​java.lang.Object> properties  
      private PubSubSupport provider  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BusRuntime add​(java.lang.String key, java.lang.Object property)  
      boolean contains​(java.lang.String key)  
      <T> T get​(java.lang.String key)  
      java.util.Collection<java.lang.String> getKeys()  
      PubSubSupport getProvider()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • properties

        private java.util.Map<java.lang.String,​java.lang.Object> properties
    • Constructor Detail

    • Method Detail

      • get

        public <T> T get​(java.lang.String key)
      • getKeys

        public java.util.Collection<java.lang.String> getKeys()
      • add

        public BusRuntime add​(java.lang.String key,
                              java.lang.Object property)
      • contains

        public boolean contains​(java.lang.String key)