Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright 2002-2008 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://www.apache.org/licenses/LICENSE-2.0
  *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.springframework.beans.factory.config;
Adapter that implements all methods on SmartInstantiationAwareBeanPostProcessor as no-ops, which will not change normal processing of each bean instantiated by the container. Subclasses may override merely those methods that they are actually interested in.

Note that this base class is only recommendable if you actually require InstantiationAwareBeanPostProcessor functionality. If all you need is plain BeanPostProcessor functionality, prefer a straight implementation of that (simpler) interface.

Author(s):
Rod Johnson
Juergen Hoeller
Since:
2.0
	public Class predictBeanType(Class beanClassString beanName) {
		return null;
	}
	public Constructor[] determineCandidateConstructors(Class beanClassString beanNamethrows BeansException {
		return null;
	}
	public Object getEarlyBeanReference(Object beanString beanNamethrows BeansException {
		return bean;
	}
	public Object postProcessBeforeInstantiation(Class beanClassString beanNamethrows BeansException {
		return null;
	}
	public boolean postProcessAfterInstantiation(Object beanString beanNamethrows BeansException {
		return true;
	}
			PropertyValues pvsPropertyDescriptor[] pdsObject beanString beanName)
			throws BeansException {
		return pvs;
	}
	public Object postProcessBeforeInitialization(Object beanString beanNamethrows BeansException {
		return bean;
	}
	public Object postProcessAfterInitialization(Object beanString beanNamethrows BeansException {
		return bean;
	}
New to GrepCode? Check out our FAQ X