protected void configureContext(MutablePicoContainer container) { super.configureContext(container); container.registerComponentImplementation(FilterFactory.class, FilterFactoryImpl.class); } }
/** * Configures the filter context. * <p> * The following factories are registered: * <ul> * <li>{@link FilterFactoryImpl} under {@link FilterFactory} * </ul> * </p> */ public void configureContext(MutablePicoContainer container) { super.configureContext(container); container.registerComponentImplementation(FilterFactory.class, FilterFactoryImpl.class); } }
/** * Configures the filter context. * <p> * The following factories are registered: * <ul> * <li>{@link FilterFactoryImpl} under {@link FilterFactory} * </ul> * </p> */ public void configureContext(MutablePicoContainer container) { super.configureContext(container); container.registerComponentImplementation(FilterFactory.class, FilterFactoryImpl.class); } }
/** * Configures the sld context. * <p> * The following factories are registered: * <ul> * <li>{@link StyleFactoryImpl.class} under {@link StyleFactory.class} * </ul> * </p> */ protected void configureContext(MutablePicoContainer container) { super.configureContext(container); container.registerComponentImplementation(StyleFactory.class, StyleFactoryImpl.class); } }
/** * Configures the filter context. * <p> * The following factories are registered: * <ul> * <li>{@link FilterFactoryImpl} under {@link FilterFactory} * </ul> * </p> */ public void configureContext(MutablePicoContainer container) { super.configureContext(container); container.registerComponentImplementation(FilterFactory.class, FilterFactoryImpl.class); } }
/** * Configures the filter context. * <p> * The following factories are registered: * <ul> * <li>{@link FilterFactoryImpl} under {@link FilterFactory} * </ul> * </p> */ public void configureContext(MutablePicoContainer container) { super.configureContext(container); container.registerComponentImplementation(FilterFactory.class, FilterFactoryImpl.class); } }
@Override protected void configureContext(MutablePicoContainer container) { super.configureContext(container); container.registerComponentImplementation(StyleFactory.class, StyleFactoryImpl.class); container.registerComponentInstance(ResourceLocator.class, new DefaultResourceLocator()); }
/** * Configures the sld context. * <p> * The following factories are registered: * <ul> * <li>{@link StyleFactoryImpl.class} under {@link StyleFactory.class} * </ul> * </p> */ protected void configureContext(MutablePicoContainer container) { super.configureContext(container); container.registerComponentImplementation(StyleFactory.class, StyleFactoryImpl.class); container.registerComponentInstance(ResourceLocator.class, new DefaultResourceLocator()); }
@Override protected void configureContext(MutablePicoContainer container) { super.configureContext(container); delegate.configureContext(container); container.unregisterComponent(GML3EncodingUtils.class); container.registerComponentInstance(new GML32EncodingUtils()); } }
dependency.configureContext(container);
dependency.configureContext( container );
dependency.configureContext(container);
/** * Configures the gml3 context. * <p> * The following factories are registered: * <ul> * <li>{@link CoordinateArraySequenceFactory} under {@link CoordinateSequenceFactory} * <li>{@link GeometryFactory} * </ul> * </p> */ public void configureContext(MutablePicoContainer container) { super.configureContext(container); container.registerComponentInstance(new FeatureTypeCache()); container.registerComponentImplementation(FeaturePropertyExtractor.class); //factories container.registerComponentInstance(CoordinateSequenceFactory.class, CoordinateArraySequenceFactory.instance()); container.registerComponentImplementation(GeometryFactory.class); } }
/** * Configures the gml2 context. * <p> * The following classes are registered: * <ul> * <li>{@link CoordinateArraySequenceFactory} under {@link CoordinateSequenceFactory} * <li>{@link GeometryFactory} * <li>{@link FeatureTypeCache} * <li>{@link DefaultFeatureCollections} * </ul> * </p> */ public void configureContext(MutablePicoContainer container) { super.configureContext(container); container.registerComponentInstance(new FeatureTypeCache()); container.registerComponentInstance(CoordinateSequenceFactory.class, CoordinateArraySequenceFactory.instance()); container.registerComponentImplementation(GeometryFactory.class); container.registerComponentImplementation(DefaultFeatureCollections.class); } }
/** * Configures the gml3 context. * <p> * The following factories are registered: * <ul> * <li>{@link CoordinateArraySequenceFactory} under {@link CoordinateSequenceFactory} * <li>{@link GeometryFactory} * </ul> * </p> */ public void configureContext(MutablePicoContainer container) { super.configureContext(container); container.registerComponentInstance(new FeatureTypeCache()); container.registerComponentImplementation(FeaturePropertyExtractor.class); //factories container.registerComponentInstance(CoordinateSequenceFactory.class, CoordinateArraySequenceFactory.instance()); container.registerComponentImplementation(GeometryFactory.class); } }
public void configureContext(MutablePicoContainer context) { super.configureContext(context); context.registerComponentInstance(Ows10Factory.eINSTANCE); context.registerComponentInstance(WfsFactory.eINSTANCE); context.registerComponentInstance(new WFSHandlerFactory(catalog, schemaBuilder)); context.registerComponentInstance(catalog); context.registerComponentImplementation(PropertyTypePropertyExtractor.class); // TODO: this code is copied from the 1.1 configuration, FACTOR IT OUT!!! // seed the cache with entries from the catalog context.registerComponentInstance( FeatureTypeCache.class, new CatalogFeatureTypeCache(getCatalog())); }
protected void configureContext(MutablePicoContainer context) { super.configureContext(context); context.registerComponentInstance(WfsFactory.eINSTANCE); context.registerComponentInstance(new WFSHandlerFactory(catalog, schemaBuilder)); context.registerComponentInstance(catalog); context.registerComponentImplementation(PropertyTypePropertyExtractor.class); context.registerComponentInstance(getSrsSyntax()); // seed the cache with entries from the catalog context.registerComponentInstance( FeatureTypeCache.class, new CatalogFeatureTypeCache(getCatalog())); context.registerComponentInstance(new CurvedGeometryFactory(Double.MAX_VALUE)); }
/** * Configures the gml3 context. * <p> * The following factories are registered: * <ul> * <li>{@link CoordinateArraySequenceFactory} under {@link CoordinateSequenceFactory} * <li>{@link GeometryFactory} * </ul> * </p> */ public void configureContext(MutablePicoContainer container) { super.configureContext(container); container.registerComponentInstance(new FeatureTypeCache()); container.registerComponentInstance(new XSDIdRegistry()); //factories container.registerComponentInstance(CoordinateSequenceFactory.class, CoordinateArraySequenceFactory.instance()); container.registerComponentImplementation(GeometryFactory.class); container.registerComponentInstance(new GML3EncodingUtils()); if (isExtendedArcSurfaceSupport()) { container.registerComponentInstance(new ArcParameters()); } container.registerComponentInstance(srsSyntax); } }