private Map<String, Object> getContextAttributes(
			final BundleContext bundleContext) {
		final Map<String, Object> attributes = new HashMap<>();
		if (contextAttributes != null) {
			attributes.putAll(contextAttributes);
		}
		attributes.put(WebContainerConstants.BUNDLE_CONTEXT_ATTRIBUTE,
				bundleContext);
		attributes
				.put("org.springframework.osgi.web.org.osgi.framework.BundleContext",
						bundleContext);
		return attributes;
	}
private Map < String , Object > getContextAttributes ( final BundleContext bundleContext ) { final Map < String , Object > attributes = new HashMap < > ( ) ; if ( contextAttributes != null ) { attributes . putAll ( contextAttributes ) ; } attributes . put ( WebContainerConstants . BUNDLE_CONTEXT_ATTRIBUTE , bundleContext ) ; attributes . put ( "org.springframework.osgi.web.org.osgi.framework.BundleContext" , bundleContext ) ; return attributes ; }
Returns a list of servlet context attributes out of configured properties
and attribues containing the bundle context associated with the bundle
that created the model (web element).

@param bundleContext bundle context to be set as attribute
@return context attributes map