Package com.sun.enterprise.deployment.web

Examples of com.sun.enterprise.deployment.web.ContextParameter


    protected synchronized void configureResource() {
       
        try {
            ApplicationParameter[] appParams =
                    context.findApplicationParameters();
            ContextParameter contextParam;
            for (int i=0; i<appParams.length; i++) {
                contextParam = new EnvironmentProperty(appParams[i].getName(),
                    appParams[i].getValue(), appParams[i].getDescription());
                ((WebBundleDescriptor)webBundleDescriptor).addContextParameter(contextParam);
            }
View Full Code Here


       if ( set.isEmpty() ){
           return;
       }
       Iterator iterator = set.iterator();
      
       ContextParameter ctxParam;
       while(iterator.hasNext()){
           ctxParam = (ContextParameter)iterator.next();
          
           webModule.addParameter(ctxParam.getName(), ctxParam.getValue());
       }
    }
View Full Code Here

    private void copyContextParameters() {
        Enumeration<ContextParameter> parameters = convergedContext.getSipApplication().getContextParameters();

        if (parameters != null) {
            for (Enumeration e = parameters; e.hasMoreElements();) {
                ContextParameter param = (ContextParameter) e.nextElement();
                // Check if this is an internal session case
                context.addParameter(param.getName(), param.getValue());
            }
        }
    }
View Full Code Here

    protected synchronized void configureResource()
            throws LifecycleException {
       
        List<ApplicationParameter> appParams =
            context.findApplicationParameters();
        ContextParameter contextParam;
        synchronized (appParams) {
            Iterator<ApplicationParameter> i = appParams.iterator();
            while (i.hasNext()) {
                ApplicationParameter appParam = i.next();
                contextParam = new EnvironmentProperty(
View Full Code Here

            descriptorItem.setValue(customization.getParamValue());
        }

        @Override
        protected ContextParameter newDescriptorItem(ContextParam customization) {
            ContextParameter newItem =
                    new EnvironmentProperty(
                        customization.getParamName(),
                        customization.getParamValue(),
                        "" /* description */);
            return newItem;
View Full Code Here

            descriptorItem.setValue(customization.getParamValue());
        }

        @Override
        protected ContextParameter newDescriptorItem(ContextParam customization) {
            ContextParameter newItem =
                    new EnvironmentProperty(
                        customization.getParamName(),
                        customization.getParamValue(),
                        "" /* description */);
            return newItem;
View Full Code Here

    protected synchronized void configureResource()
            throws LifecycleException {
       
        List<ApplicationParameter> appParams =
            context.findApplicationParameters();
        ContextParameter contextParam;
        synchronized (appParams) {
            Iterator<ApplicationParameter> i = appParams.iterator();
            while (i.hasNext()) {
                ApplicationParameter appParam = i.next();
                contextParam = new EnvironmentProperty(
View Full Code Here

    protected synchronized void configureResource()
            throws LifecycleException {
       
        List<ApplicationParameter> appParams =
            context.findApplicationParameters();
        ContextParameter contextParam;
        synchronized (appParams) {
            Iterator<ApplicationParameter> i = appParams.iterator();
            while (i.hasNext()) {
                ApplicationParameter appParam = i.next();
                contextParam = new EnvironmentProperty(
View Full Code Here

            descriptorItem.setValue(customization.getParamValue());
        }

        @Override
        protected ContextParameter newDescriptorItem(ContextParam customization) {
            ContextParameter newItem =
                    new EnvironmentProperty(
                        customization.getParamName(),
                        customization.getParamValue(),
                        "" /* description */);
            return newItem;
View Full Code Here

    protected synchronized void configureResource()
            throws LifecycleException {
       
        List<ApplicationParameter> appParams =
            context.findApplicationParameters();
        ContextParameter contextParam;
        synchronized (appParams) {
            Iterator<ApplicationParameter> i = appParams.iterator();
            while (i.hasNext()) {
                ApplicationParameter appParam = i.next();
                contextParam = new EnvironmentProperty(
View Full Code Here

TOP

Related Classes of com.sun.enterprise.deployment.web.ContextParameter

Copyright © 2018 www.massapicom. 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.