public class ArcServiceExtension extends AbstractDataStoreServiceExtension
implements
ServiceExtension {
public IService createService( URL id, Map<String, Serializable> params ) {
final ArcSDEDataStoreFactory factory = getFactory();
if (params != null && params.containsKey(PORT_PARAM.key)
&& params.get(PORT_PARAM.key) instanceof String) {
String val = (String) params.get(PORT_PARAM.key);
params.put(PORT_PARAM.key, Integer.valueOf(val));
}
if (!factory.canProcess(params))
return null;
if (id == null) {
String host = (String) params.get(SERVER_PARAM.key);
String port = params.get(PORT_PARAM.key).toString();
String db = (String) params.get(INSTANCE_PARAM.key);