javaruntimes/jvmargmodifier/default/src/jvmargsmodifier.cpp
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  A default empty implementation for JvmArgs modifier.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "jvmargsmodifier.h"
       
    20 
       
    21 #include "logger.h"
       
    22 
       
    23 OS_EXPORT
       
    24 void java::runtime::modifyJvmArguments(const std::wstring& /*identifier*/,
       
    25                                        std::list<std::wstring>& /*jvmArgs*/,
       
    26                                        std::list<std::wstring>& /*applicationAndArgs*/)
       
    27 {
       
    28     JELOG2(EJavaRuntime);
       
    29     // This is intentionally an empty implementation.
       
    30 
       
    31     /*
       
    32         std::list<std::wstring>::iterator jvmArgsIterator;
       
    33 
       
    34         LOG(EJavaRuntime, EInfo, "JVM Args");
       
    35         for(jvmArgsIterator=jvmArgs.begin(); jvmArgsIterator!= jvmArgs.end();
       
    36             ++jvmArgsIterator)
       
    37         {
       
    38             LOG1(EJavaRuntime, EInfo, " '%S'", jvmArgsIterator->c_str());
       
    39         }
       
    40 
       
    41         std::list<std::wstring>::iterator applicationAndArgsIterator;
       
    42         LOG(EJavaRuntime, EInfo, "JVM Args");
       
    43         for(applicationAndArgsIterator=applicationAndArgs.begin();
       
    44             applicationAndArgsIterator!= applicationAndArgs.end();
       
    45             ++applicationAndArgsIterator)
       
    46         {
       
    47             LOG1(EJavaRuntime, EInfo, " '%S'", applicationAndArgsIterator->c_str());
       
    48         }
       
    49     */
       
    50 }
       
    51