Examples of exactLookup()


Examples of com.sun.enterprise.config.ConfigContext.exactLookup()

      String returnValueString = null;

      String returnValue = defaultValue;
      try {
          configBean =
              configCtx.exactLookup(xpath);
      } catch (ConfigException ex) {
      }     
      if(configBean != null) {
          returnValueString = configBean.getAttributeValue("value");
      }
View Full Code Here

Examples of com.sun.enterprise.config.ConfigContext.exactLookup()

        String returnValueString = null;

        int returnValue = defaultValue;
        try {
            configBean =
                configCtx.exactLookup(xpath);
        } catch (ConfigException ex) {
        }     
        if(configBean != null) {
            returnValueString = configBean.getAttributeValue("value");
        }
View Full Code Here

Examples of com.sun.enterprise.config.ConfigContext.exactLookup()

                while (iter.hasNext() )  {
                    Object change= iter.next();
                    if (change instanceof ConfigAdd || change instanceof ConfigUpdate) {
                        String xpath = ((ConfigChange)change).getXPath();
                        if( xpath != null){
                            ConfigBean item = newConfig.exactLookup(xpath);
                            if (item instanceof ElementProperty) {
                                ElementProperty elementProperty = (ElementProperty)item;
                                String loggerName  = elementProperty.getName();
                                loggerName = lef.getLoggerName(loggerName);
                                String logLevel    = elementProperty.getValue();
View Full Code Here

Examples of com.sun.enterprise.config.ConfigContext.exactLookup()

                ConfigContext newConfig = event.getConfigContext();
                  for (Object change: event.getConfigChangeList()) {
                    if (change instanceof ConfigAdd || change instanceof ConfigUpdate) {
                        String xpath = ((ConfigChange)change).getXPath();
                        if( xpath != null){
                            ConfigBean item = newConfig.exactLookup(xpath);
                            if (item instanceof ElementProperty) {
                                ElementProperty elementProperty = (ElementProperty)item;
                                String name  = elementProperty.getName();
                                String monLevel    = elementProperty.getValue();
                                MonitoringLevel level = MonitoringLevel.instance(monLevel);
View Full Code Here

Examples of com.sun.enterprise.config.ConfigContext.exactLookup()

            ctx = event.getOldConfigContext();
        } else {
            ctx = event.getConfigContext();
        }
        if (ctx != null) {
            bean = ctx.exactLookup(xpath);
        }

        return bean;
    }
View Full Code Here

Examples of com.sun.enterprise.config.ConfigContext.exactLookup()

            ctx = event.getOldConfigContext();
        } else {
            ctx = event.getConfigContext();
        }
        if (ctx != null) {
            bean = ctx.exactLookup(xpath);
        }

        return bean;
    }
View Full Code Here

Examples of com.sun.enterprise.config.ConfigContext.exactLookup()

     
      final ConfigContext configContext   = mDelegateFactory.getConfigContext();
      assert( configContext != null );
     
        final ConfigBean domainConfigBean =
            configContext.exactLookup( ServerXPathHelper.XPATH_DOMAIN );
        assert( domainConfigBean != null );
       
        final List<ConfigBean>    configBeans   = new ArrayList<ConfigBean>();
        addBeanHierarchy( configBeans, domainConfigBean );
        debug( configBeansToString( configBeans ) );
View Full Code Here

Examples of com.sun.enterprise.config.ConfigContext.exactLookup()

                configObject = configChangeList.get(i);

                if (configObject instanceof ConfigUpdate) {
                    configUpdate = (ConfigUpdate)configObject;
                    xpath = configUpdate.getXPath();
                    object = configContext.exactLookup(xpath);
                    if (object instanceof IdentityAssertionTrust) {
                        IdentityAssertionTrust iat = (IdentityAssertionTrust) object;
                        PAssertedAuthenticator pa = new PAssertedAuthenticator(iat);
                        String key = iat.getId();
                        assertionMap.put(key, pa);
View Full Code Here

Examples of com.sun.enterprise.config.ConfigContext.exactLookup()

                configObject = configChangeList.get(i);

                if (configObject instanceof ConfigAdd) {
                    configAdd = (ConfigAdd) configObject;
                    xpath = configAdd.getXPath();
                    object = configContext.exactLookup(xpath);
                    if (object instanceof IdentityAssertionTrust) {
                        IdentityAssertionTrust iat = (IdentityAssertionTrust) object;
                        PAssertedAuthenticator pa = new PAssertedAuthenticator(iat);
                        String key = iat.getId();
                        assertionMap.put(key, pa);
View Full Code Here

Examples of com.sun.enterprise.config.ConfigContext.exactLookup()

                if (configChange instanceof ConfigAdd) {
                    _logger.log(Level.INFO,"sgmt.reconfig_handlecreaterulereceived");
                    xpath = configChange.getXPath();
                    if (xpath != null) {
                        _logger.log(Level.INFO, "sgmt.reconfig_handlexpath",xpath);
                        rule = (ManagementRule)configContext.exactLookup(xpath);
                        if (rule.isEnabled())
                            service.addRule(rule, configContext);
                        else
                            service.addDisabledRule(rule);
                      
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.