javacommons/utils/javasrc/com/nokia/mj/impl/runtime/rtport/RuntimeInfoFactory.java
branchRCL_3
changeset 24 0fd27995241b
parent 20 f9bb0fca356a
child 25 9ac0a0a7da70
--- a/javacommons/utils/javasrc/com/nokia/mj/impl/runtime/rtport/RuntimeInfoFactory.java	Fri Apr 30 10:40:48 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-/*
-* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-
-package com.nokia.mj.impl.runtime.rtport;
-
-/**
- * Factory to get the RuntimeInfo implementation.
- *
- * The RuntimeInfo implementation class is searched and dynamically loaded
- * based on the value of "nokia.rt.port" system property.
- *
- * The class named "com.nokia.mj.impl.runtime.rtport.<value>.RuntimeInfoImpl"
- * is tried to be loaded first, and if that is not found the value is tried to
- * be used as a full class name.
- *
- * If the system property does not exist, then the default value "midp" is used.
- */
-public class RuntimeInfoFactory
-{
-    /** RuntimeInfo instance */
-    private static RuntimeInfo sInstance = new RuntimeInfoImpl();
-
-    /**
-     * Returns the RuntimeInfo
-     *
-     * @return RuntimeInfo
-     */
-    public static RuntimeInfo getRuntimeInfo()
-    {
-        return sInstance;
-    }
-}