Examples of Configurable


Examples of anvil.server.Configurable

 
 
  public void reconfigure(Zone zone)
  {
    Configurable[] configs = zone.getConfigurations();
    Configurable c;
    int n = configs.length;
    for(int i=0; i<n; i++) {
      c = configs[i];
      switch (c.getType()) {
      case Configurable.ZONE:
      case Configurable.DOMAIN:
      case Configurable.SERVER:
        reconfigure((Zone)c);
        break;
View Full Code Here

Examples of anvil.server.Configurable

  /// @method getParent
  /// Returns the parent of this object.
  /// @synopsis Configurable getParent()
  public Any m_getParent()
  {
    Configurable parent = _conf.getParent();
    return (parent != null) ? new AnyConfigurable(parent) : UNDEFINED;
  }
View Full Code Here

Examples of anvil.server.Configurable

  /// starting from this object.
  /// @synopsis Configurable find(int identity)
  public static final Object[] p_find = { "identity" };
  public Any m_find(int id)
  {
    Configurable cfg = find(_conf, id);
    return (cfg != null) ? new AnyConfigurable(cfg) : Any.UNDEFINED;
  }
View Full Code Here

Examples of anvil.server.Configurable

  /// @throws AccessDenied if security policy denies this operation
  public static final Object[] p_create = { null, "type" };
  public Any m_create(Context context, String type)
  {
    context.checkAccess(CAN_WRITE);
    Configurable cfg = null;
    if (_conf instanceof Zone) {
      cfg = ConfigReader.create((Zone)_conf, type);
    }
    if (cfg != null) {
      _conf.configure(cfg);
View Full Code Here

Examples of anvil.server.Configurable

  /// @synopsis boolean remove()
  /// @throws AccessDenied if security policy denies this operation
  public Any m_remove(Context context)
  {
    context.checkAccess(CAN_WRITE);
    Configurable parent = _conf.getParent();
    if (parent != null) {
      parent.deleteConfiguration(_conf);
      return TRUE;
    } else {
      return FALSE;
    }
  }
View Full Code Here

Examples of anvil.server.Configurable

  /// @method isStarted
  /// Checks if this object is started.
  /// @synopsis boolean isStarted()
  public Any m_isStarted()
  {
    Configurable c = _conf;
    while(c != null) {
      if (c instanceof Zone) {
        return ((Zone)c).isStarted() ? TRUE : FALSE;
      }
      c = c.getParent();
    }
    return FALSE;
  }
View Full Code Here

Examples of com.intellij.openapi.options.Configurable

        if (exception.getConfigLocation() == IvySettingsNotFoundException.ConfigLocation.Project) {
            linkBehavior = new LinkBehavior(
                    "Open " + exception.getConfigLocation() + " settings for " + exception.getConfigName() + "...",
                    new LinkListener() {
                        public void linkSelected(LinkLabel linkLabel, Object o) {
                            Configurable component = project.getComponent(IvyIdeaProjectSettingsComponent.class);
                            ShowSettingsUtil.getInstance().editConfigurable(project, component);
                        }
                    }, null);
        }
        IvyIdeaExceptionDialog.showModalDialog("Ivy Settings Error", exception, myProject, linkBehavior);
View Full Code Here

Examples of com.teamdev.jxbrowser.Configurable

  private void configureBrowser()
  {
    if( browser != null )
    {
      Configurable contentSettings = browser.getConfigurable();

      if( SoapUI.isJXBrowserPluginsDisabled() )
      {
        contentSettings.disableFeature( Feature.PLUGINS );
      }
      else
      {
        contentSettings.enableFeature( Feature.PLUGINS );
      }
    }

  }
View Full Code Here

Examples of javax.ws.rs.core.Configurable

   
    private void doApplyDynamicFeatures(ClassResourceInfo cri) {
        Set<OperationResourceInfo> oris = cri.getMethodDispatcher().getOperationResourceInfos();
        for (OperationResourceInfo ori : oris) {
            for (DynamicFeature feature : dynamicFeatures) {
                Configurable methodConfigurable = new MethodConfigurable(ori);
                feature.configure(new ResourceInfoImpl(ori), methodConfigurable);
            }
        }
        Collection<ClassResourceInfo> subs = cri.getSubResources();
        for (ClassResourceInfo sub : subs) {
View Full Code Here

Examples of javax.ws.rs.core.Configurable

   
    private void doApplyDynamicFeatures(ClassResourceInfo cri) {
        Set<OperationResourceInfo> oris = cri.getMethodDispatcher().getOperationResourceInfos();
        for (OperationResourceInfo ori : oris) {
            for (DynamicFeature feature : dynamicFeatures) {
                Configurable methodConfigurable = new MethodConfigurable(ori);
                feature.configure(new ResourceInfoImpl(ori), methodConfigurable);
            }
        }
        Collection<ClassResourceInfo> subs = cri.getSubResources();
        for (ClassResourceInfo sub : subs) {
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.