标签:创建 odi jar包 子接口 cluster sch 容器 jedis framework
有很多常用的FactoryBean类:
1.org.springframework.scheduling.quartz.SchedulerFactoryBean
2.org.springframework.scheduling.quartz.CronTriggerFactoryBean
3.org.springframework.scheduling.quartz.SimpleTriggerFactoryBean
4.org.springframework.scheduling.quartz.JobDetailFactoryBean
5.org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean
6.org.springframework.beans.factory.config.PropertiesFactoryBean
这些类都实现了org.springframework.beans.factory.FactoryBean<Object>接口、org.springframework.beans.factory.InitializingBean接口(在spring-beans-xxx.jar包中)
创建jedisCluster时,要创建一个JedisClusterFactory工厂类,需实现FactoryBean接口。
BeanFactory接口,全类名是org.springframework.beans.factory.BeanFactory,是访问spring容器的根接口,spring-context-xxx.jar包中的org.springframework.context.ApplicationContext接口是其子接口
标签:创建 odi jar包 子接口 cluster sch 容器 jedis framework
原文地址:http://www.cnblogs.com/koushr/p/5873461.html