<p>
Getter for the field <code>config</code>.
</p>

@return a {@link org.beangle.commons.inject.bind.BeanConfig} object.
481150
public final BeanConfig getConfig() {
    if (null == config) {
      config = new BeanConfig(getClass().getName());
      doBinding();
    }
    return config;
  }
225954
public BeanId getBeanId() {
        final byte[] rowkey = getRowKey();
        final byte[] sid = new byte[] { rowkey[0], rowkey[1] };
        final byte[] iid = new byte[] { rowkey[2], rowkey[3], rowkey[4], rowkey[5] };
        final String schemaName = uids.getUsid().getName(sid);
        final String instanceId = uids.getUiid().getName(iid);

        if (Strings.isNullOrEmpty(schemaName)) {
            throw new IllegalStateException("Could not lookup schema name from sid "
                    + Arrays.toString(sid));
        }
        if (Strings.isNullOrEmpty(instanceId)) {
            throw new IllegalStateException("Could not lookup instance id from iid "
                    + Arrays.toString(iid));
        }
        return BeanId.create(instanceId, schemaName);
    }
365186
public static Config getOverriddenConfig(@Nonnull final Config config, @Nullable final AbstractConfiguration ... overrideConfigurations)
    {
        if (overrideConfigurations == null || overrideConfigurations.length == 0) {
            return config;
        }

        final CombinedConfiguration cc = new CombinedConfiguration(new OverrideCombiner());

        int index  = 0;
        final AbstractConfiguration first = config.config.getNumberOfConfigurations() > 0 ?
            AbstractConfiguration.class.cast(config.config.getConfiguration(index)) // cast always succeeds, internally this returns cd.getConfiguration() which is AbstractConfiguration
            : null;


        // If the passed in configuration has a system config, add this as the very first one so
        // that system properties override still works.
        if(first != null && first.getClass() == SystemConfiguration.class) {
            cc.addConfiguration(first);
            index++;
        }
        else {
            // Otherwise, if any of the passed in configuration objects is a SystemConfiguration,
            // put that at the very beginning.
            for (AbstractConfiguration c : overrideConfigurations) {
                if (c.getClass() == SystemConfiguration.class) {
                    cc.addConfiguration(c);
                }
            }
        }

        for (AbstractConfiguration c : overrideConfigurations) {
            if (c.getClass() != SystemConfiguration.class) {
                cc.addConfiguration(c); // Skip system configuration objects, they have been added earlier.
            }
        }

        // Finally, add the existing configuration elements at lowest priority.
        while (index < config.config.getNumberOfConfigurations()) {
            final AbstractConfiguration c = AbstractConfiguration.class.cast(config.config.getConfiguration(index++));
            if (c.getClass() != SystemConfiguration.class) {
                cc.addConfiguration(c);
            }
        }

        return new Config(cc);
    }
816989
public final JsMEConfig getMeConfig() {

        String thisMethodName = "getMeConfig";

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) {
            SibTr.entry(tc, thisMethodName, this);
            SibTr.exit(tc, thisMethodName, _me);
        }

        return _me;
    }
234313
public SimpleConfiguration getClientConfiguration() {
    SimpleConfiguration clientConfig = new SimpleConfiguration();
    Iterator<String> iter = getKeys();
    while (iter.hasNext()) {
      String key = iter.next();
      if (key.startsWith(CONNECTION_PREFIX) || key.startsWith(ACCUMULO_PREFIX)
          || key.startsWith(CLIENT_PREFIX)) {
        clientConfig.setProperty(key, getRawString(key));
      }
    }
    return clientConfig;
  }
58512
protected T getParentFromConfig() {
      //TODO: Move this to a converter
      String parentName = Config.get(canonicalName(), "parent").asString(null);
      if (parentName != null && DynamicEnum.isDefined(Cast.as(getClass()), parentName)) {
         return DynamicEnum.valueOf(Cast.as(getClass()), parentName);
      } else if (parentName != null) {
         try {
            parentName = parentName.replaceFirst(Pattern.quote(getClass().getCanonicalName()), "");
            DynamicEnum.register(Cast.as(Reflect.onClass(getClass()).invoke("create", parentName).get()));
         } catch (ReflectionException e) {
            return null;
         }
      }
      return null;
   }
23754
@Override
  public ConfigurationParser get() {
    try {
      ConfigurationParser parser = parserConstructor.newInstance();
      parser.setConfigurationClasses(configurationClasses);
      parser.setEnvironment(System.getProperty("com.meltmedia.cadmium.environment"));
      return parser;
    } catch (Exception e) {
      logger.error("Failed to create a new ConfigurationParser Instance.", e);
      throw new RuntimeException("Failed to create a new ConfigurationParser Instance.");
    }
  }
1029652
public Object getValue(String fieldType, NodeConfig nodeConfig) {
		Object value = null;
		if (fieldType.equals(Constant.XML_CLASS)) {
			value = new XmlText(createXML(nodeConfig));
		} else {
			if (TypeConver.isBasicType(fieldType)) {
				if (nodeConfig != null && nodeConfig.getValue() != null) {
					value = TypeConver.converValue(fieldType, nodeConfig.getValue().toString());
				}
			}
		}
		return value;
	}
1017886
private <T> BindingInject<T> findBean(Key<T> key)
  {
    for (InjectProvider provider : _providerList) {
      BindingInject<T> bean = (BindingInject) provider.lookup(key.rawClass());

      if (bean != null) {
        return bean;
      }
    }

    return null;
  }
896522
public Properties getConfig() {
    try {
      Properties properties = new Properties();
      if (null != resources.getGlobal()) populateConfigItems(properties, resources.getGlobal());

      if (null != resources.getLocals()) {
        for (URL url : resources.getLocals()) {
          populateConfigItems(properties, url);
        }
      }

      if (null != resources.getUser()) populateConfigItems(properties, resources.getUser());
      return properties;
    } catch (Exception e) {
      logger.error("Exception", e);
      throw new RuntimeException(e);
    }
  }
1190546
public <T> Object getBeanProperty(final T bean, final Object property) {
        if (bean != null) {
            @SuppressWarnings("unchecked")
            GetResolver<T> resolver = this.getters.unsafeGet(bean.getClass());
            if (resolver != null) {
                return resolver.get(bean, property);
            }
        }
        return this.resolverManager.get(bean, property);
    }
1165451
@Override
    public Configuration getConfiguration() {
        try {
            globalLock.readLock().lock();
            return configuration;
        } finally {
            globalLock.readLock().unlock();
        }
    }
1230006
public static FacetsConfig getFacetsConfig()
    {
        final FacetsConfig ret = new FacetsConfig();
        ret.setHierarchical(Indexer.Dimension.DIMCREATED.name(), true);
        return ret;
    }
1367528
public Field getField() {
        if (field == null) return null;

        try {
            // Note: sun.reflect.ReflectionFactory is not available in Android API
            return field.getDeclaringClass().getDeclaredField(field.getName());
        } catch (NoSuchFieldException e) {
            throw new ReflectionException(e.getMessage(), e);// Not Reproducible
        }
    }
368925
protected final ModuleConfig getModuleConfig()
    {
        if ( _moduleConfig == null )
        {
            _moduleConfig = InternalUtils.ensureModuleConfig(getModulePath(), getServletContext());
            assert _moduleConfig != null : getModulePath() + "; " + getClass().getName();
        }
        return _moduleConfig;
    }
162749
@Override
    public Object getValue(String name)
    {
        Object value = super.getValue(name);
        if (value != null)
        {
            return value;
        }
        else
        {
            return configMap.get(name);
        }
    }
1000105
public Converter getFieldConverter()
    {
        for (int i = 0; ; i++)
        {
            Object ojbComponent = this.getField().getComponent(i);
            if (ojbComponent == null)
                break;
            if (ojbComponent instanceof ScreenComponent)
            {
                Converter conv = (Converter)((ScreenComponent)ojbComponent).getConverter();
                if ((conv != null) && (conv.getField() == this.getField()))
                    return conv;   // Since there is a converter in front of this field, return the converter
            }
        }
        return this;
    }