cz.cuni.amis.pogamut.base.component
Interface IComponentAware

All Known Subinterfaces:
IAgent, IAgent3D, IEmbodiedAgent, IGhostAgent, IObservingAgent, IUnrealBot, IUnrealServer<BOT>, IUT2004Analyzer, IUT2004AnalyzerObserver, IUT2004Bot, IUT2004Observer, IUT2004Server, IWorldServer<A>
All Known Implementing Classes:
AbstractAgent, AbstractAgent3D, AbstractEmbodiedAgent, AbstractGhostAgent, AbstractObservingAgent, AbstractUT2004Observer, AbstractUT2004Server, AbstractWorldServer, Agent3DJMXProxy, AgentJMXProxy, BotJMXProxy, ComponentBus, GhostAgentJMXProxy, LifecycleBus, NativeUnrealBotAdapter, NativeUT2004BotAdapter, TestAgents.NetworkLoggingAgent, UT2004Analyzer, UT2004AnalyzerObserver, UT2004AnalyzerObsStats, UT2004Bot, UT2004Observer, UT2004Server

public interface IComponentAware


Method Summary
 IComponentBus getEventBus()
          IComponentBus that the instance is working with.
 

Method Detail

getEventBus

IComponentBus getEventBus()
IComponentBus that the instance is working with.

Note that by design-choice - the IComponentBus is a singleton inside AgentScoped, therefore you don't have to necessarily obtain the instance through the component, it suffice to obtain it using injection into your object.

Returns: