Pushes a new service onto the stack. The old service at the top of the stack is returned (it may be null).
@param < T>
@param type the type of service to store
@param instance the service instance
@return the previous top service
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.