public abstract class AbstractContext extends Object implements Context
Constructor and Description |
---|
AbstractContext(AbstractComponent<?> component) |
Modifier and Type | Method and Description |
---|---|
tigase.xmpp.JID |
getComponentID() |
String |
getComponentVersion()
Returns version of component.
|
String |
getDiscoCategory()
Returns category of component.
|
String |
getDiscoCategoryType()
Returns type of component.
|
String |
getDiscoDescription()
Returns human readable component name.
|
EventBus |
getEventBus()
Returns
EventBus . |
ModuleProvider |
getModuleProvider()
Returns
ModuleProvider . |
PacketWriter |
getWriter()
Returns
PacketWriter . |
public AbstractContext(AbstractComponent<?> component)
public tigase.xmpp.JID getComponentID()
getComponentID
in interface Context
public String getComponentVersion()
Context
getComponentVersion
in interface Context
public String getDiscoCategory()
Context
getDiscoCategory
in interface Context
public String getDiscoCategoryType()
Context
getDiscoCategoryType
in interface Context
public String getDiscoDescription()
Context
getDiscoDescription
in interface Context
public EventBus getEventBus()
Context
EventBus
.getEventBus
in interface Context
EventBus
instance.public ModuleProvider getModuleProvider()
Context
ModuleProvider
.getModuleProvider
in interface Context
ModuleProvider
instance.public PacketWriter getWriter()
Context
PacketWriter
.getWriter
in interface Context
PacketWriter
instance.Copyright © 2016 "Tigase, Inc.". All rights reserved.