protected void activate(Map<String, Object> props) {
		// Get the properties from the console.
		sharedSecret = toString(props.get("sharedSecret"),
				"e2KS54H35j6vS5Z38nK40");
		hostname = toString(props.get("hostname"), "localhost");
		LOGGER.info(" Trusted hostname: " + hostname);
		port = toInteger(props.get("port"), 80);
		LOGGER.info("Trusted port: " + port);
	}
protected void activate(Map<String, Object> props) {
		
		sharedSecret = toString(props.get("sharedSecret"),
				"e2KS54H35j6vS5Z38nK40");
		hostname = toString(props.get("hostname"), "localhost");
		LOGGER.info(" Trusted hostname: " + hostname);
		port = toInteger(props.get("port"), 80);
		LOGGER.info("Trusted port: " + port);
	}
protected void activate ( Map < String , Object > props ) { // Get the properties from the console. sharedSecret = toString ( props . get ( "sharedSecret" ) , "e2KS54H35j6vS5Z38nK40" ) ; hostname = toString ( props . get ( "hostname" ) , "localhost" ) ; LOGGER . info ( " Trusted hostname: " + hostname ) ; port = toInteger ( props . get ( "port" ) , 80 ) ; LOGGER . info ( "Trusted port: " + port ) ; }
When the bundle gets activated we retrieve the OSGi properties.

@param context
When the bundle gets activated we retrieve the OSGi properties .