KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > springframework > context > support > FactoryBeanAndApplicationListener


1 package org.springframework.context.support;
2
3 import org.springframework.beans.factory.FactoryBean;
4 import org.springframework.context.ApplicationEvent;
5 import org.springframework.context.ApplicationListener;
6
7 /**
8  * @author Juergen Hoeller
9  * @since 06.10.2004
10  */

11 public class FactoryBeanAndApplicationListener implements FactoryBean, ApplicationListener {
12
13     public Object JavaDoc getObject() throws Exception JavaDoc {
14         return "";
15     }
16
17     public Class JavaDoc getObjectType() {
18         return String JavaDoc.class;
19     }
20
21     public boolean isSingleton() {
22         return true;
23     }
24
25     public void onApplicationEvent(ApplicationEvent event) {
26     }
27
28 }
29
Popular Tags