Retrieve the properties associated with this connection.
198207
public Map getConnectionProperties()
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        {
            SibTr.entry(tc, "getConnectionProperties");
            SibTr.exit(tc, "getConnectionProperties", _connectionProperties);
        }
        return _connectionProperties;
    }
391097
@SuppressWarnings("UseOfObsoleteCollectionType")
  public Hashtable<String, String> getConnectionProperties()
  {
    StringBuilder url = new StringBuilder("ldap://");

    url.append(host).append(":").append(String.valueOf(port)).append("/");

    Hashtable<String, String> props = new Hashtable<String, String>(11);

    props.put(LdapContext.INITIAL_CONTEXT_FACTORY,
      "com.sun.jndi.ldap.LdapCtxFactory");
    props.put(LdapContext.PROVIDER_URL, url.toString());
    props.put(LdapContext.SECURITY_AUTHENTICATION, "simple");
    props.put(LdapContext.SECURITY_PRINCIPAL, additionalBindDN);
    props.put(LdapContext.SECURITY_CREDENTIALS, additionalBindPassword);

    return props;
  }
395285
private static Properties initProperties() {
		InputStream stream = null;
		try {
			// TODO: limited to known drivers, better find driver later based on JDBC connection URL without "simon" word
			Properties properties = new Properties();
			stream = Thread.currentThread().getContextClassLoader().getResourceAsStream("org/javasimon/jdbc4/drivers.properties");
			if (stream != null) {
				properties.load(stream);
			}
			return properties;
		} catch (IOException e) {
			throw new IllegalStateException(e);
		} finally {
			if (stream != null) {
				try {
					stream.close();
				} catch (IOException e) {
					// Doesn't matter
				}
			}
		}
	}
790711
def properties(self):
        """"""
        properties = {'id': self._id,
                      'reversible': self._rev,
                      'equation': self._equation}
        if 'name' in self._root.attrib:
            properties['name'] = self._root.get('name')
        if self._lower_flux is not None:
            properties['lower_flux'] = self._lower_flux
        if self._upper_flux is not None:
            properties['upper_flux'] = self._upper_flux

        return properties
399010
def Get(self, interface_name, property_name):
        ''''''

        self.log('Get %s.%s' % (interface_name, property_name))

        if not interface_name:
            interface_name = self.interface
        try:
            return self.GetAll(interface_name)[property_name]
        except KeyError:
            raise dbus.exceptions.DBusException(
                'no such property ' + property_name,
                name=self.interface + '.UnknownProperty')
550536
public static Properties getProperties(File propertiesFile) {
        Properties properties = new Properties();
        try (BufferedReader reader =
                new BufferedReader(new FileReader(propertiesFile))) {
            properties.load(reader);
            return properties;
        } catch (Exception e) {
            return JMExceptionManager
                    .handleExceptionAndReturnNull(log, e, "getProperties",
                            propertiesFile);
        }
    }
521735
public static function properties()
	{
		$class = get_called_class();

		// If already determined
		if (array_key_exists($class, static::$_properties_cached))
		{
			return static::$_properties_cached[$class];
		}

		// Try to grab the properties from the class...
		if (property_exists($class, '_properties'))
		{
			$properties = static::$_properties;
			foreach ($properties as $key => $p)
			{
				if (is_string($p))
				{
					unset($properties[$key]);
					$properties[$p] = array();
				}
			}
		}

		// ...if the above failed, run DB query to fetch properties
		if (empty($properties))
		{
			try
			{
				$properties = \DB::list_columns(static::table(), null, static::connection());
			}
			catch (\Exception $e)
			{
				throw new \FuelException('Listing columns failed, you have to set the model properties with a '.
					'static $_properties setting in the model. Original exception: '.$e->getMessage());
			}
		}

		// cache the properties for next usage
		static::$_properties_cached[$class] = $properties;

		return static::$_properties_cached[$class];
	}
641198
def get_connections(self):
        """"""

        if float(self._dsversion) < 10:
            connections = self._extract_legacy_connection()
        else:
            connections = self._extract_federated_connections()
        return connections
687821
def properties(self) -> dict:
        
        if isinstance(self._last_node, dict):
            return self._last_node.keys()
        else:
            return {}
460224
def get_properties_obj(self):
        
        properties = c_uamqp.cProperties()
        self._set_attr('message_id', properties)
        self._set_attr('user_id', properties)
        self._set_attr('to', properties)
        self._set_attr('subject', properties)
        self._set_attr('reply_to', properties)
        self._set_attr('correlation_id', properties)
        self._set_attr('content_type', properties)
        self._set_attr('content_encoding', properties)
        self._set_attr('absolute_expiry_time', properties)
        self._set_attr('creation_time', properties)
        self._set_attr('group_id', properties)
        self._set_attr('group_sequence', properties)
        self._set_attr('reply_to_group_id', properties)
        return properties
379401
def get(self):
        

        data = self.resource(self.name).properties.get()

        self.set_data(**data)

        return data
459902
def get_connection(self):
        "  "
        app = get_app()
        for connection, client_state in self._client_states.items():
            if client_state.app == app:
                return connection

        raise ValueError('Connection for app %r not found' % (app, ))
1246103
public Properties getFeatureProperties() {
		Properties properties = new Properties();
		for (String name : features.keySet()) {
			properties.setProperty(name, features.get(name).spec());
		}
		return properties;
	}
178165
public Map<String,String> getDatabaseProperties()
    {
        String strDatabaseProductName = this.getProperty(SQLParams.INTERNAL_DB_NAME);
        if (strDatabaseProductName == null)
            return null;    // Can't get the properties without the database being used
        Map<String,String> map = super.getDatabaseProperties();        
        strDatabaseProductName = strDatabaseProductName.toLowerCase();
        ResourceBundle dbProperties = null;
        if (strDatabaseProductName.indexOf("access") != -1)
            dbProperties = new DBProperties_access();
        else if (strDatabaseProductName.indexOf("instantdb") != -1)
            dbProperties = new DBProperties_instantdb();
        else if (strDatabaseProductName.indexOf("sybase") != -1)
            dbProperties = new DBProperties_sybase();
        else if (strDatabaseProductName.indexOf("pointBase") != -1)
            dbProperties = new DBProperties_pointbase();
        else if (strDatabaseProductName.indexOf("mysql") != -1)
            dbProperties = new DBProperties_mysql();
        else if (strDatabaseProductName.indexOf("postgresql") != -1)
            dbProperties = new DBProperties_postgresql();
        else
        {
            if (strDatabaseProductName.indexOf('.') == -1)
            {
                String strClassName = DBProperties_mysql.class.getName();
                strDatabaseProductName = strClassName.substring(0, strClassName.length() - "mysql".length()) + strDatabaseProductName;
            }
//            dbProperties = (ListResourceBundle)ThinUtil.getClassService().makeObjectFromClassName(Object.class.getName(), strDatabaseProductName);

            
            
           try {
        	   Class<?> c = Class.forName(strDatabaseProductName);
        	   dbProperties = (ListResourceBundle)c.newInstance();
           } catch (Exception e) {
    		   Utility.getLogger().warning("Error on create class: " + strDatabaseProductName);
    		   e.printStackTrace();
           }
           
        }
        // Merge the properties with my properties.
        if (dbProperties != null)
        {
            if (map == null)
                map = new HashMap<String,String>();
            for (Enumeration<String> e = dbProperties.getKeys() ; e.hasMoreElements() ;)
            {
                String key = e.nextElement();
                String value = dbProperties.getString(key);
                map.put(key, value);
            }
        }
        
        return map;
    }
260554
def get_connections(self, id, connection_name, **args):
        """"""
        return self.request(
            "{0}/{1}/{2}".format(self.version, id, connection_name), args
        )
69748
void getProperties(Connection connection, long id, LoggingEvent event)
      throws SQLException {

    PreparedStatement statement = connection.prepareStatement(sqlProperties);
    try {
      statement.setLong(1, id);
      ResultSet rs = statement.executeQuery();

      while (rs.next()) {
        String key = rs.getString(1);
        String value = rs.getString(2);
        event.setProperty(key, value);
      }
    } finally {
      statement.close();
    }
  }
954395
public function getProperties()
    {
        $url      = UrlHelper::buildUrl(Urls::URL_QUERY_CACHE);
        $response = $this->getConnection()->get($url);

        return $response->getJson();
    }