diff options
Diffstat (limited to 'plugins/org.eclipse.net4j.jms/src/org/eclipse/net4j/internal/jms/ConnectionMetaDataImpl.java')
-rw-r--r-- | plugins/org.eclipse.net4j.jms/src/org/eclipse/net4j/internal/jms/ConnectionMetaDataImpl.java | 142 |
1 files changed, 71 insertions, 71 deletions
diff --git a/plugins/org.eclipse.net4j.jms/src/org/eclipse/net4j/internal/jms/ConnectionMetaDataImpl.java b/plugins/org.eclipse.net4j.jms/src/org/eclipse/net4j/internal/jms/ConnectionMetaDataImpl.java index 12b9aa75f8..fc7c611260 100644 --- a/plugins/org.eclipse.net4j.jms/src/org/eclipse/net4j/internal/jms/ConnectionMetaDataImpl.java +++ b/plugins/org.eclipse.net4j.jms/src/org/eclipse/net4j/internal/jms/ConnectionMetaDataImpl.java @@ -1,71 +1,71 @@ -/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) 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:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.net4j.internal.jms;
-
-import javax.jms.ConnectionMetaData;
-
-import java.util.Enumeration;
-import java.util.StringTokenizer;
-
-public class ConnectionMetaDataImpl implements ConnectionMetaData
-{
- private ConnectionImpl connection;
-
- public ConnectionMetaDataImpl(ConnectionImpl connection)
- {
- this.connection = connection;
- }
-
- public ConnectionImpl getConnection()
- {
- return connection;
- }
-
- public int getJMSMajorVersion()
- {
- return 1;
- }
-
- public int getJMSMinorVersion()
- {
- return 1;
- }
-
- public String getJMSVersion()
- {
- return "1.1"; //$NON-NLS-1$
- }
-
- public String getJMSProviderName()
- {
- return "Net4j JMS"; //$NON-NLS-1$
- }
-
- public int getProviderMajorVersion()
- {
- return 0;
- }
-
- public int getProviderMinorVersion()
- {
- return 8;
- }
-
- public String getProviderVersion()
- {
- return "0.8.0"; //$NON-NLS-1$
- }
-
- public Enumeration<?> getJMSXPropertyNames()
- {
- return new StringTokenizer(""); //$NON-NLS-1$
- }
-}
+/* + * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) 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: + * Eike Stepper - initial API and implementation + */ +package org.eclipse.net4j.internal.jms; + +import javax.jms.ConnectionMetaData; + +import java.util.Enumeration; +import java.util.StringTokenizer; + +public class ConnectionMetaDataImpl implements ConnectionMetaData +{ + private ConnectionImpl connection; + + public ConnectionMetaDataImpl(ConnectionImpl connection) + { + this.connection = connection; + } + + public ConnectionImpl getConnection() + { + return connection; + } + + public int getJMSMajorVersion() + { + return 1; + } + + public int getJMSMinorVersion() + { + return 1; + } + + public String getJMSVersion() + { + return "1.1"; //$NON-NLS-1$ + } + + public String getJMSProviderName() + { + return "Net4j JMS"; //$NON-NLS-1$ + } + + public int getProviderMajorVersion() + { + return 0; + } + + public int getProviderMinorVersion() + { + return 8; + } + + public String getProviderVersion() + { + return "0.8.0"; //$NON-NLS-1$ + } + + public Enumeration<?> getJMSXPropertyNames() + { + return new StringTokenizer(""); //$NON-NLS-1$ + } +} |