package scm.hivemind.statefulservice;

import org.apache.hivemind.impl.ConstructableServicePoint;
import org.apache.hivemind.internal.ServiceModel;
import org.apache.hivemind.internal.ServiceModelFactory;

/**
 * Factory for the stateful service model.
 * 
 * @author marcus
 */
public class StatefulServiceModelFactory implements ServiceModelFactory {

	/**
	 * 
	 */
	public StatefulServiceModelFactory() {
		super();
		// TODO Auto-generated constructor stub
	}

	/* (non-Javadoc)
	 * @see org.apache.hivemind.internal.ServiceModelFactory#createServiceModelForService(org.apache.hivemind.impl.ConstructableServicePoint)
	 */
	public ServiceModel createServiceModelForService(
			ConstructableServicePoint servicePoint) {
		return new StatefulServiceModel( servicePoint );
	}

}


  • No labels