Examples of ElementProperty


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

   
    private void setDomainName(Domain domain) throws ConfigException
    {
        try
        {
            ElementProperty ep = domain.getElementPropertyByName(DOMAIN_NAME_XML_PROPERTY);
           
            if(ep == null)
                throw new ConfigException("The property, " + DOMAIN_NAME_XML_PROPERTY + ", was null");
           
            String domainName = ep.getValue();
           
            if(domainName == null || domainName.length() < 1)
                throw new ConfigException("The value of the property, " + DOMAIN_NAME_XML_PROPERTY + ", was null or empty");
           
            System.setProperty(DOMAIN_NAME_SYSTEM_PROPERTY, domainName);
View Full Code Here

Examples of org.eclipse.sapphire.ElementProperty

            }
        }
        else if( element instanceof ElementHandle )
        {
            final ElementHandle<?> handle = (ElementHandle<?>) element;
            final ElementProperty elementPropertyDef = handle.definition();
           
            boolean ok = false;
           
            if( elementPropertyDef instanceof ImpliedElementProperty )
            {
                ok = ( elementPropertyDef.getType().property( name ) != null );
            }
            else
            {
                for( final ElementType possibleChildType : handle.service( PossibleTypesService.class ).types() )
                {
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.