Adds a home to make it externally accessible.

@param bmd the bean
8550
protected void addHome(BeanMetaData bmd) throws ContainerException {
        try {
            EJSContainer.homeOfHomes.addHome(bmd); //d200714 d429866.2 F743-26072
        } catch (Throwable ex) {
            ContainerException ex2 = new ContainerException(ex);
            Tr.error(tc, "CAUGHT_EXCEPTION_THROWING_NEW_EXCEPTION_CNTR0035E",
                     new Object[] { ex, ex2.toString() });
            throw ex2;
        }
    }
486525
public void addTo(String address, String personal) throws AddressException {
		if(to == null) {
			to = new ArrayList<>();
		}
		to.add( toInternetAddress(address, personal) );
	}
753574
public void addProperty(String propertyType) {

        if (m_properties == null) {
            // this list will be used and clean up in the importResource method
            m_properties = new HashMap<String, CmsProperty>();
        }
        try {
            if ((m_propertyName == null) || getIgnoredProperties().contains(m_propertyName)) {
                // continue if the current property (name) should be ignored or is null
                return;
            }
            CmsProperty property = m_properties.get(m_propertyName);
            if (property == null) {
                property = new CmsProperty();
                property.setName(m_propertyName);
                property.setAutoCreatePropertyDefinition(true);
                m_properties.put(m_propertyName, property);
            }

            if (m_propertyValue == null) {
                m_propertyValue = "";
            }

            if ((propertyType != null) && propertyType.equals(PROPERTY_ATTRIB_TYPE_SHARED)) {
                // it is a shared/resource property value
                property.setResourceValue(m_propertyValue);
            } else {
                // it is an individual/structure value
                property.setStructureValue(m_propertyValue);
            }
        } finally {
            m_propertyName = null;
            m_propertyValue = null;
        }
    }
1127810
public GeoLocationResponse addAddress(final String address) {
        if (StringUtils.isNotBlank(address)) {
            this.addresses.add(address);
        }
        return this;
    }
253881
private void addProviderPropertyDefinitions(AbstractTypeDefinition type) {

        for (I_CmsPropertyProvider provider : m_propertyProviders) {
            type.addPropertyDefinition(
                createPropDef(
                    PROPERTY_PREFIX_DYNAMIC + provider.getName(),
                    provider.getName(),
                    provider.getName(),
                    PropertyType.STRING,
                    Cardinality.SINGLE,
                    provider.isWritable() ? Updatability.READWRITE : Updatability.READONLY,
                    false,
                    false));
        }
    }
592241
private void setTemplate(CmsResource siteRootResource) {

        try {
            m_cms.lockResource(siteRootResource);
            // add template  property
            if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(m_template)) {
                CmsProperty prop = new CmsProperty(CmsPropertyDefinition.PROPERTY_TEMPLATE, m_template, m_template);
                m_cms.writePropertyObject(siteRootResource.getRootPath(), prop);
            }
            m_cms.unlockResource(siteRootResource);
        } catch (CmsException e) {
            LOG.error("Error on adding template", e);
        }
    }
850487
public void add(ConfigurationMetadataProperty property,
			ConfigurationMetadataSource source) {
		if (source != null) {
			putIfAbsent(source.getProperties(), property.getId(), property);
		}
		putIfAbsent(getGroup(source).getProperties(), property.getId(), property);
	}
282659
public void addSite(String site) {
		if (siteModel.getIndexOf(site) < 0) {
			siteModel.addElement(site);
			if (currentSite == null) {
				// First site added, automatically select it
				siteModel.setSelectedItem(site);
			}
		}
	}
780368
private void addOuToTable(CmsOrganizationalUnit ou) {

        if (m_app.isParentOfManagableOU(ou.getName())) {
            Item item = m_container.addItem(ou.getName());
            if (item != null) {
                item.getItemProperty(TableProperty.Name).setValue(ou.getName());
                item.getItemProperty(TableProperty.Description).setValue(ou.getDisplayName(A_CmsUI.get().getLocale()));
                if (ou.hasFlagWebuser()) {
                    item.getItemProperty(TableProperty.Icon).setValue(new CmsCssIcon(OpenCmsTheme.ICON_OU_WEB));
                }
            }
        }
    }
1019314
private void addTable(TableDef table)
    {
        table.setOwner(this);
        _tableDefs.put(table.getName(), table);
    }
102400
private void addContainerproperties() {
        /* Create HierarchicalContainer container */
        container.addContainerProperty(SPUILabelDefinitions.NAME, String.class, null);
        container.addContainerProperty(SPUILabelDefinitions.VAR_CREATED_BY, String.class, null);
        container.addContainerProperty(SPUILabelDefinitions.VAR_CREATED_DATE, Date.class, null);
        container.addContainerProperty(SPUILabelDefinitions.VAR_LAST_MODIFIED_BY, String.class, null, false, true);
        container.addContainerProperty(SPUILabelDefinitions.VAR_LAST_MODIFIED_DATE, String.class, null, false, true);
        container.addContainerProperty(SPUILabelDefinitions.VAR_TARGET_STATUS, TargetUpdateStatus.class, null);
        container.addContainerProperty(SPUILabelDefinitions.VAR_DESC, String.class, "", false, true);

        container.addContainerProperty(ASSIGN_DIST_SET, DistributionSet.class, null, false, true);
        container.addContainerProperty(INSTALL_DIST_SET, DistributionSet.class, null, false, true);
        container.addContainerProperty(SPUILabelDefinitions.ASSIGNED_DISTRIBUTION_NAME_VER, String.class, "");
        container.addContainerProperty(SPUILabelDefinitions.INSTALLED_DISTRIBUTION_NAME_VER, String.class, null);
    }
1266762
public static void setHomeUrl(HomeUrl homeUrl) {
		HomeUrlRequest homeUrlRequest = new HomeUrlRequest();
		homeUrlRequest.setHomeUrl(homeUrl);
		FbBotMillNetworkController.postMessengerProfile(homeUrlRequest);

	}
886421
public void addSingleton(BeanMetaData bmd, boolean startup, Set<String> dependsOnLinks) {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
            Tr.debug(tc, "addSingleton: " + bmd.j2eeName + " (startup=" + startup + ", dependsOn=" + (dependsOnLinks != null) + ")");

        if (startup) {
            if (ivStartupSingletonList == null) {
                ivStartupSingletonList = new ArrayList<J2EEName>();
            }
            ivStartupSingletonList.add(bmd.j2eeName);
        }

        if (dependsOnLinks != null) {
            if (ivSingletonDependencies == null) {
                ivSingletonDependencies = new LinkedHashMap<BeanMetaData, Set<String>>();
            }
            ivSingletonDependencies.put(bmd, dependsOnLinks);
        }
    }
1059734
public void addMetaBeanProperty(MetaBeanProperty mp) {

        MetaProperty staticProperty = establishStaticMetaProperty(mp);
        if (staticProperty != null) {
            staticPropertyIndex.put(mp.getName(), mp);
        } else {

            SingleKeyHashMap propertyMap = classPropertyIndex.getNotNull(theCachedClass);
            //keep field
            CachedField field;
            MetaProperty old = (MetaProperty) propertyMap.get(mp.getName());
            if (old != null) {
                if (old instanceof MetaBeanProperty) {
                    field = ((MetaBeanProperty) old).getField();
                } else if (old instanceof MultipleSetterProperty) {
                    field = ((MultipleSetterProperty)old).getField();
                } else {
                    field = (CachedField) old;
                }
                mp.setField(field);
            }

            // put it in the list
            // this will overwrite a possible field property
            propertyMap.put(mp.getName(), mp);
        }

    }
137279
public void setTemplateHome(File home) {
        raw.put(HOME_TEMPLATE.getKey(), home);
        data.put(HOME_TEMPLATE, home);
    }
1190242
public function addHomePageAcf()
    {
        $homePageId = (int)$this->wpProvider->getOption('page_on_front');
        $this->addAcfFromPage($homePageId);
        return $this;
    }
1364898
public void add(HostPort hp) {
        if (this.vector == null) {
            this.vector = new Vector();
        }
        this.vector.add(hp);
        this.sporCommandParam = null;
    }