Examples of load()


Examples of org.apache.marmotta.loader.core.MarmottaLoader.load()

    @Test
    public void testAutoLoad() throws RDFHandlerException {
        log.info("testing automatic loading ...");

        MarmottaLoader loader = new MarmottaLoader(cfg);
        DummyLoaderHandler handler = getBase(loader.load());

        testData(handler.getModel());
    }

    @Test
View Full Code Here

Examples of org.apache.maven.archiva.discoverer.DiscovererStatistics.load()

            ArtifactRepository repository = (ArtifactRepository) i.next();

            DiscovererStatistics stats = new DiscovererStatistics( repository );
            try
            {
                stats.load( DataRefreshExecutor.DATAREFRESH_FILE );
                if ( stats.getTimestampFinished() > lastDataRefreshTime )
                {
                    lastDataRefreshTime = stats.getTimestampFinished();
                }
            }
View Full Code Here

Examples of org.apache.maven.continuum.configuration.ConfigurationService.load()

        {
            checked = true;
            return invocation.invoke();
        }

        configuration.load();

        if ( configuration.isInitialized() )
        {
            checked = true;
            return invocation.invoke();
View Full Code Here

Examples of org.apache.maven.doxia.module.fo.FoAggregateSink.load()

            File fOConfigFile = new File( outputDirectory, "pdf-config.xml" );

            if ( fOConfigFile.exists() )
            {
                sink.load( fOConfigFile );
                getLogger().debug( "Loaded pdf config file: " + fOConfigFile.getAbsolutePath() );
            }

            String generateTOC =
                ( context != null && context.get( "generateTOC" ) != null ? context.get( "generateTOC" ).toString().trim()
View Full Code Here

Examples of org.apache.muse.core.descriptor.DeploymentDescriptor.load()

            //
            Environment env = createEnvironment();
            DeploymentDescriptor dd = createDeploymentDescriptor();
           
            Document ddXML = env.getDocument(DescriptorConstants.DESCRIPTOR_FILE_NAME);
            dd.load(ddXML, env);
           
            //
            // put all custom serializers in the serializer registry
            //
            Collection serializerDefinitions = dd.getSerializerDefinitions();
View Full Code Here

Examples of org.apache.muse.core.descriptor.RouterDescriptor.load()

      Environment env) throws SoapFault {
    Element routerXML = XmlUtils.getElement(xml,
        DescriptorConstants.ROUTER_QNAME);

    RouterDescriptor rd = createRouterDescriptor();
    rd.load(routerXML, env);

    return rd.getRouterDefinition();
  }

  protected SerializerDescriptor createSerializerDescriptor() {
View Full Code Here

Examples of org.apache.muse.core.descriptor.SerializerDescriptor.load()

    Collection definitions = new ArrayList(serializerXML.length);

    for (int n = 0; n < serializerXML.length; ++n) {
      SerializerDescriptor sd = createSerializerDescriptor();
      sd.load(serializerXML[n], env);

      SerializerDefinition definition = sd.getSerializerDefinition();
      definitions.add(definition);
    }
View Full Code Here

Examples of org.apache.muse.core.platform.osgi.descriptor.OSGiDeploymentDescriptor.load()

    Document ddXML = getDocument(bundle, resourceConfig);
    if (ddXML == null)
      return;
    try {
      dd.setBundle(bundle);
      dd.load(ddXML, this.getEnvironment());

      //
      // put all custom serializers in the serializer registry
      //
      Collection serializerDefinitions = dd.getSerializerDefinitions();
View Full Code Here

Examples of org.apache.myfaces.spi.ServiceProviderFinder.load()

    @Override
    public List<FacesConfig> getApplicationConfigurationResourceDocumentPopulatorFacesConfig(ExternalContext ectx)
    {
        ServiceProviderFinder spff = ServiceProviderFinderFactory.getServiceProviderFinder(ectx);
        ServiceLoader<ApplicationConfigurationPopulator> instances =
            spff.load(ApplicationConfigurationPopulator.class);
        if (instances != null)
        {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            // namespace aware
            factory.setNamespaceAware(true);
View Full Code Here

Examples of org.apache.ode.axis2.ODEConfigProperties.load()

            System.out.println("Profiling config: " + config + ".");
            odeConfigDir = config;
        }
        File configFile = new File(odeConfigDir);
        ODEConfigProperties odeProps = new ODEConfigProperties(configFile);
        odeProps.load();
        Database db = new Database(odeProps);
        String webappPath = getClass().getClassLoader().getResource("webapp").getFile();
        db.setWorkRoot(new File(webappPath, "/WEB-INF"));

        return db;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.