BotBean.java 498 Bytes
package fi.codecrew.moya.beans;

import javax.ejb.LocalBean;
import javax.ejb.Singleton;

import fi.iudex.utils.irc.IrcBot;

/**
 * Session Bean implementation class BotBean
 */
@Singleton
@LocalBean
public class BotBean implements BotBeanLocal {

	private IrcBot bot;

	/**
	 * Default constructor.
	 */
	public BotBean() {
	}

	@Override
	public void add(IrcBot bot) {
		this.setBot(bot);

	}

	public IrcBot getBot() {
		return bot;
	}

	public void setBot(IrcBot bot) {
		this.bot = bot;
	}

}