Examples of ConfigResource


Examples of com.alibaba.antx.config.ConfigResource

            if (isDescriptorFile(name)) {
                settings.debug("Loading descriptor " + getScanner().getURL() + "\n");

                loadDescriptor();
            } else if (isPackageFile(name)) {
                ConfigResource resource = new ConfigResource(getScanner().getURL(), name);
                ConfigEntryFactory factory = getConfigSettings().getConfigEntryFactory();
                ConfigEntry subEntry = createSubEntry(name, resource, factory);

                InputStream istream = null;
View Full Code Here

Examples of com.alibaba.antx.config.ConfigResource

        public void directory() {
            String name = getScanner().getPath();

            if (isPackageFile(name)) {
                ConfigResource resource = new ConfigResource(getScanner().getURL(), name);
                ConfigEntryFactory factory = getConfigSettings().getConfigEntryFactory();
                ConfigEntry subEntry = createSubEntry(name, resource, factory);

                subEntry.scan();
View Full Code Here

Examples of com.alibaba.antx.config.ConfigResource

        /**
         * װ��descriptor��
         */
        private void loadDescriptor() {
            URL descriptorURL = getScanner().getURL();
            ConfigResource descriptorResource = new ConfigResource(descriptorURL, getScanner().getPath());

            ConfigDescriptor descriptor;
            InputStream istream = null;

            try {
View Full Code Here

Examples of com.alibaba.antx.config.ConfigResource

            if (isDescriptorFile(name)) {
                settings.debug("Loading descriptor " + getScanner().getURL() + "\n");

                loadDescriptor();
            } else if (isPackageFile(name)) {
                ConfigResource resource = new ConfigResource(getScanner().getURL(), name);
                ConfigEntryFactory factory = getConfigSettings().getConfigEntryFactory();
                ConfigEntry subEntry = createSubEntry(name, resource, factory);

                InputStream istream = null;
View Full Code Here

Examples of com.alibaba.antx.config.ConfigResource

        @Override
        public void directory() {
            String name = getScanner().getPath();

            if (isPackageFile(name)) {
                ConfigResource resource = new ConfigResource(getScanner().getURL(), name);
                ConfigEntryFactory factory = getConfigSettings().getConfigEntryFactory();
                ConfigEntry subEntry = createSubEntry(name, resource, factory);

                subEntry.scan();
View Full Code Here

Examples of com.alibaba.antx.config.ConfigResource

        }

        /** 装入descriptor。 */
        private void loadDescriptor() {
            URL descriptorURL = getScanner().getURL();
            ConfigResource descriptorResource = new ConfigResource(descriptorURL, getScanner().getPath());

            ConfigDescriptor descriptor;
            InputStream istream = null;

            try {
View Full Code Here

Examples of com.alibaba.antx.config.ConfigResource

            if (isDescriptorFile(name)) {
                settings.debug("Loading descriptor " + getScanner().getURL() + "\n");

                loadDescriptor();
            } else if (isPackageFile(name)) {
                ConfigResource resource = new ConfigResource(getScanner().getURL(), name);
                ConfigEntryFactory factory = getConfigSettings().getConfigEntryFactory();
                ConfigEntry subEntry = createSubEntry(name, resource, factory);

                InputStream istream = null;
View Full Code Here

Examples of com.alibaba.antx.config.ConfigResource

        public void directory() {
            String name = getScanner().getPath();

            if (isPackageFile(name)) {
                ConfigResource resource = new ConfigResource(getScanner().getURL(), name);
                ConfigEntryFactory factory = getConfigSettings().getConfigEntryFactory();
                ConfigEntry subEntry = createSubEntry(name, resource, factory);

                subEntry.scan();
View Full Code Here

Examples of com.alibaba.antx.config.ConfigResource

        /**
         * װ��descriptor��
         */
        private void loadDescriptor() {
            URL descriptorURL = getScanner().getURL();
            ConfigResource descriptorResource = new ConfigResource(descriptorURL, getScanner().getPath());

            ConfigDescriptor descriptor;
            InputStream istream = null;

            try {
View Full Code Here

Examples of org.beangle.commons.config.ConfigResource

  }

  // FIXME
  private ConfigResource getDefaultResource() {
    try {
      ConfigResource resource = new ConfigResource();
      resource.setGlobal(ProfileServiceImpl.class.getClassLoader().getResource(
          "META-INF/convention-default.properties"));
      Enumeration<URL> em = ProfileServiceImpl.class.getClassLoader().getResources(
          "META-INF/convention-route.properties");
      while (em.hasMoreElements()) {
        resource.getLocals().add(em.nextElement());
      }
      return resource;
    } catch (IOException e) {
      throw new RuntimeException(e);
    }
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.