Package juzu.impl.plugin

Examples of juzu.impl.plugin.ServiceContext


    //
    HashMap<String, ServiceDescriptor> pluginDescriptors = new HashMap<String, ServiceDescriptor>();
    for (final Map.Entry<ApplicationService, JSON> entry : configs.entrySet()) {
      ApplicationService plugin = entry.getKey();
      ServiceContext pluginContext = new ServiceContext() {
        public JSON getConfig() {
          return entry.getValue();
        }
        public ClassLoader getClassLoader() {
          return classLoader;
View Full Code Here


    HashMap<String, ServiceDescriptor> descriptors = new HashMap<String, ServiceDescriptor>();
    for (ModuleService plugin : plugins.values()) {
      final JSON pluginConfig = context.getConfig().getJSON(plugin.getName());

      //
      ServiceContext pluginContext = new ServiceContext() {
        public JSON getConfig() {
          return pluginConfig;
        }
        public ClassLoader getClassLoader() {
          return context.getClassLoader();
View Full Code Here

TOP

Related Classes of juzu.impl.plugin.ServiceContext

Copyright © 2018 www.massapicom. 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.