package org.j3de.client;
import java.util.Enumeration;
import org.j3de.interfaces.Application;
public abstract class AbstractClientFactory {
private static AbstractClientFactory clientFactory;
public AbstractClientFactory() {
clientFactory = this;
}
public abstract Application getConfiguration();
public abstract Enumeration getStartupApplications();
public static AbstractClientFactory getFactory() {
if (clientFactory == null)
throw new IllegalStateException("No ClientFactory has been instantiated");
return clientFactory;
}
}