Examples of PropertyResolver


Examples of com.dtolabs.rundeck.core.plugins.configuration.PropertyResolver

            instanceConfiguration = DataContextUtils.replaceDataReferences(instanceConfiguration,
                                                                           context.getDataContext());
        }
        final String providerName = item.getNodeStepType();

        final PropertyResolver resolver = PropertyResolverFactory.createStepPluginRuntimeResolver(context,
                                                                                                  instanceConfiguration,
                                                                                                  ServiceNameConstants.WorkflowNodeStep,
                                                                                                  providerName);
        final PluginStepContext pluginContext = PluginStepContextImpl.from(context);
        final Map<String, Object> config = PluginAdapterUtility.configureProperties(resolver, getDescription(), plugin, PropertyScope.InstanceOnly);
View Full Code Here

Examples of com.gentics.api.lib.resolving.PropertyResolver

    String result = null;
    ExpressionParser expressionParser = ExpressionParser.getInstance();
    try {
      EvaluableExpression expression = (EvaluableExpression) expressionParser.parse(expressionString);
      ExpressionQueryRequest expressionQueryRequest = new ExpressionQueryRequest(
          new PropertyResolver(resolvable), new HashMap<Object, Object>(0));
      result = (String) expression.evaluate(expressionQueryRequest, ExpressionEvaluator.OBJECTTYPE_STRING);
    } catch (ExpressionParserException e) {
      LOGGER.error("Error while evaluating the expression (" + expressionString + ") with the base resolvable ("
          + resolvable + ")", e);
    } catch (ParserException e) {
View Full Code Here

Examples of com.gentics.api.lib.resolving.PropertyResolver

      prepareQueryRequest(final CRResolvableBean bean, final Map<String, Object> attributes) {
    CRResolvableBean resolvable = new CRResolvableBean();
    resolvable.setAttrMap(attributes);
    resolvable.set("object", bean);
    resolvable.set("page", bean);
    PropertyResolver resolver = new PropertyResolver(resolvable);
    return new ExpressionQueryRequest(resolver, new HashMap<String, String>(0));

  }
View Full Code Here

Examples of com.sun.enterprise.config.serverbeans.PropertyResolver

            timeoutInSeconds = timeout;
            String val  = httpListener.getAcceptorThreads();
            countAcceptorThreads = Integer.parseInt(val);
       
            val = httpListener.getPort();           
            PropertyResolver pr = new PropertyResolver(InstanceHangAction.configCtx,
                                                       inst.getName());
            String resolvedPort = pr.resolve(val);
            listenerPort = Integer.parseInt(resolvedPort);
            /* the default value used by LB; which has been factored in from
             *proxy config - 5 seconds
             */
            connectTimeout = 5 * 1000;
 
View Full Code Here

Examples of com.sun.enterprise.config.serverbeans.PropertyResolver

    public static String getResolvedPort(IiopListener l,
            String server)
  throws ConfigException
    {
  String rawPort = l.getRawAttributeValue("port");
  PropertyResolver pr = new PropertyResolver(configCtx, server);
  return pr.resolve(rawPort);
    }
View Full Code Here

Examples of com.sun.enterprise.config.serverbeans.PropertyResolver

    }
   
    protected String resolvePath(String path) {
        String resolved = path;
        try {
            resolved =  new PropertyResolver(configContext,
                getInstanceEnvironment().getName()).resolve(path);
        } catch (ConfigException ce) {
            //log this.
        }
        return resolved;
View Full Code Here

Examples of com.sun.enterprise.config.serverbeans.PropertyResolver

                boolean autodeployEnabled=dasConfig.isAutodeployEnabled();
                if(autodeployEnabled){                   
                    autoDeployDir=dasConfig.getAutodeployDir() ;
                    if(autoDeployDir != null) {
                        try {
                            autoDeployDir = new PropertyResolver(confContext,
                                context.getInstanceName()).
                                    resolve(autoDeployDir);
                            autoDeployDir=autoDeployDir.trim();
                        } catch (ConfigException ce) {
                            //log
View Full Code Here

Examples of com.sun.enterprise.config.serverbeans.PropertyResolver

        */
    }

    private void createPathResolver() {
        try {
            mPathResolver = new PropertyResolver(
                ConfigFactory.createConfigContext(mConfigFilePath),
                mLogicalName);
        } catch (Exception e) {
            //log it.
        }
View Full Code Here

Examples of javax.faces.el.PropertyResolver

            else
            {
                Object[] baseAndProperty = (Object[]) base_;
                Object base      = baseAndProperty[0];
                Object property  = baseAndProperty[1];
                PropertyResolver propertyResolver =
                    _application.getPropertyResolver();

                Integer index = ELParserHelper.toIndex(base, property);
                if (index == null)
                {
                    propertyResolver.setValue(
                        base, property, newValue);
                }
                else
                {
                    int indexVal = index.intValue();
                    propertyResolver.setValue(
                        base, indexVal, newValue);
                }
            }
        }
        catch (IndexOutOfBoundsException e)
View Full Code Here

Examples of javax.faces.el.PropertyResolver

      tree.setRowIndex(i);
      if (viewIdProperty != null)
      {
        Object focusPath = tree.getRowKey();
        Object data = tree.getRowData();
        PropertyResolver resolver =
          context.getApplication().getPropertyResolver();
        Object viewIdObject = resolver.getValue(data, viewIdProperty);
        focusPathMap.put(viewIdObject, focusPath);
      }
      else
      {
        _LOG.warning("The viewId property in ViewIdPropertyMenuModel is null. The viewId property is needed to find the focus rowKey." );
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.