/*
* Created on 2004.10.25
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package org.jboss.fresh.deployer;
import org.jboss.fresh.ctx.FlatContext;
import org.jboss.fresh.ctx.Context;
/**
* @author Marko Strukelj
*
*/
public class ContextBinder extends RegistryNamingBinder implements ContextBinderMBean {
/**
*
*/
public ContextBinder() {
super();
}
protected Object classToInstance(Class c) {
return new FlatContext();
}
protected String getBindClass() {
return Context.class.getName();
}
}