All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.milyn.javabean.lifecycle.BeanRepositoryLifecycleEvent Maven / Gradle / Ivy

There is a newer version: 1.7.1
Show newest version
/*
	Milyn - Copyright (C) 2006

	This library is free software; you can redistribute it and/or
	modify it under the terms of the GNU Lesser General Public
	License (version 2.1) as published by the Free Software
	Foundation.

	This library is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

	See the GNU Lesser General Public License for more details:
	http://www.gnu.org/licenses/lgpl.txt
*/

package org.milyn.javabean.lifecycle;

import org.milyn.container.ExecutionContext;
import org.milyn.javabean.repository.BeanId;

/**
 * @author [email protected]
 *
 */
public class BeanRepositoryLifecycleEvent {

	private final ExecutionContext executionContext;

	private final BeanLifecycle lifecycle;

	private final BeanId beanId;

	private final Object bean;


	/**
	 * @param executionContext
	 * @param beanId
	 * @param lifecycle
	 * @param bean
	 */
	public BeanRepositoryLifecycleEvent(ExecutionContext executionContext,
			 BeanLifecycle lifecycle, BeanId beanId, Object bean) {

		this.executionContext = executionContext;
		this.beanId = beanId;
		this.lifecycle = lifecycle;
		this.bean = bean;
	}
	/**
	 * @return the executionContext
	 */
	public ExecutionContext getExecutionContext() {
		return executionContext;
	}
	/**
	 * @return the lifecycle
	 */
	public BeanLifecycle getLifecycle() {
		return lifecycle;
	}
	/**
	 * @return the beanId
	 */
	public BeanId getBeanId() {
		return beanId;
	}
	/**
	 * @return the bean
	 */
	public Object getBean() {
		return bean;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy