Making spring context not public again