Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.server/src/org/eclipse/ecf/internal/examples/remoteservices/server/RemoteEnvironmentInfoImpl.java')
-rw-r--r--server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.server/src/org/eclipse/ecf/internal/examples/remoteservices/server/RemoteEnvironmentInfoImpl.java107
1 files changed, 0 insertions, 107 deletions
diff --git a/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.server/src/org/eclipse/ecf/internal/examples/remoteservices/server/RemoteEnvironmentInfoImpl.java b/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.server/src/org/eclipse/ecf/internal/examples/remoteservices/server/RemoteEnvironmentInfoImpl.java
deleted file mode 100644
index 7aa347c2e..000000000
--- a/server-side/examples/bundles/org.eclipse.ecf.examples.remoteservices.server/src/org/eclipse/ecf/internal/examples/remoteservices/server/RemoteEnvironmentInfoImpl.java
+++ /dev/null
@@ -1,107 +0,0 @@
-/****************************************************************************
- * Copyright (c) 2008 Composent, Inc. and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Composent, Inc. - initial API and implementation
- *****************************************************************************/
-
-package org.eclipse.ecf.internal.examples.remoteservices.server;
-
-import org.eclipse.ecf.examples.remoteservices.common.IRemoteEnvironmentInfo;
-import org.eclipse.osgi.service.environment.EnvironmentInfo;
-
-/**
- *
- */
-public class RemoteEnvironmentInfoImpl implements IRemoteEnvironmentInfo {
-
- private EnvironmentInfo getEnvironmentInfo() {
- return Activator.getDefault().getEnvironmentInfo();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ecf.examples.remoteservices.common.IRemoteEnvironmentInfo#getCommandLineArgs()
- */
- public String[] getCommandLineArgs() {
- final EnvironmentInfo ei = getEnvironmentInfo();
- System.out.println("getCommandLineArgs()"); //$NON-NLS-1$
- return (ei == null) ? null : ei.getCommandLineArgs();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ecf.examples.remoteservices.common.IRemoteEnvironmentInfo#getFrameworkArgs()
- */
- public String[] getFrameworkArgs() {
- final EnvironmentInfo ei = getEnvironmentInfo();
- System.out.println("getFrameworkArgs()"); //$NON-NLS-1$
- return (ei == null) ? null : ei.getFrameworkArgs();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ecf.examples.remoteservices.common.IRemoteEnvironmentInfo#getNL()
- */
- public String getNL() {
- final EnvironmentInfo ei = getEnvironmentInfo();
- System.out.println("getNL()"); //$NON-NLS-1$
- return (ei == null) ? null : ei.getNL();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ecf.examples.remoteservices.common.IRemoteEnvironmentInfo#getNonFrameworkArgs()
- */
- public String[] getNonFrameworkArgs() {
- final EnvironmentInfo ei = getEnvironmentInfo();
- System.out.println("getNonFrameworkArgs()"); //$NON-NLS-1$
- return (ei == null) ? null : ei.getNonFrameworkArgs();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ecf.examples.remoteservices.common.IRemoteEnvironmentInfo#getOS()
- */
- public String getOS() {
- final EnvironmentInfo ei = getEnvironmentInfo();
- System.out.println("getOS()"); //$NON-NLS-1$
- return (ei == null) ? null : ei.getOS();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ecf.examples.remoteservices.common.IRemoteEnvironmentInfo#getOSArch()
- */
- public String getOSArch() {
- final EnvironmentInfo ei = getEnvironmentInfo();
- System.out.println("getOSArch()"); //$NON-NLS-1$
- return (ei == null) ? null : ei.getOSArch();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ecf.examples.remoteservices.common.IRemoteEnvironmentInfo#getWS()
- */
- public String getWS() {
- final EnvironmentInfo ei = getEnvironmentInfo();
- System.out.println("getWS()"); //$NON-NLS-1$
- return (ei == null) ? null : ei.getWS();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ecf.examples.remoteservices.common.IRemoteEnvironmentInfo#inDebugMode()
- */
- public Boolean inDebugMode() {
- final EnvironmentInfo ei = getEnvironmentInfo();
- System.out.println("inDebugMode()"); //$NON-NLS-1$
- return (ei == null) ? null : new Boolean(ei.inDebugMode());
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ecf.examples.remoteservices.common.IRemoteEnvironmentInfo#inDevelopmentMode()
- */
- public Boolean inDevelopmentMode() {
- final EnvironmentInfo ei = getEnvironmentInfo();
- System.out.println("inDevelopmentMode()"); //$NON-NLS-1$
- return (ei == null) ? null : new Boolean(ei.inDevelopmentMode());
- }
-
-}

Back to the top