*/
@SuppressWarnings("unchecked")
@ManagedAttribute(description = "Returns list of connections for this Servlet-Service")
public final String[] getServletServiceConnections() {
ServletContext servletContext = this.servlet.getServletConfig().getServletContext();
ServletServiceContext servletServiceContext = (ServletServiceContext) servletContext;
Map<String, String> servletServiceConnections = null;
try {
Field connectionsField = servletServiceContext.getClass().getDeclaredField("connectionServiceNames");
connectionsField.setAccessible(true);
servletServiceConnections = (Map<String, String>) connectionsField.get(unpackProxy(servletServiceContext));
} catch (Exception e) {
this.logger.warn("Can't access the connections field of " + servletContext + ".", e);
}