jquery源码: jQuery = function( selector, context ) { // The jQuery object is actually just the init constructor 'enhanced' // Need init if jQuery is called (just allow error to be thrown if not included) return new jQuery.fn.init( selector, context );…
/* * Copyright 2002-2012 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://…
Component Scan is important concept when we want to create Bean. Currently we know what, for the class, we want to create Bean from it, we need to add @Component. @Component @Scope(ConfigurableBeanFactory.SCOPE_SINGLETON) public class ComponentPerson…