com.shimari.framework
Interface Component
- All Known Subinterfaces:
- Connection, Handler
- All Known Implementing Classes:
- Bot, ClaimHandler, ConsoleConnection, Cron, FXTP, HelpHandler, IRC_Connection, QuoteHandler, TickerHandler, TickerService, TradeHandler, UserHandler
- public interface Component
Component objects combine to form an application. When the Config object
creates a component it will initialize it with a Map that references
every other Component generated by the same Config. The components in
the map have fully qualified names, unlike the keys ordinarily passed
to the Config system. An object that implements the Component interface
will automatically be picked up as a component by Config; objects which
don't implement the interface will both be invisible to other objects
and also unable to find a reference to Component objects.
init
public void init(Registry components)
throws ConfigException
- Throws:
ConfigException