接口 com.jdon.container.pico.Startable
的使用

使用 Startable 的软件包
com.jdon.aop.interceptor   
com.jdon.aop.joinpoint   
com.jdon.async   
com.jdon.async.disruptor   
com.jdon.bussinessproxy.dyncproxy.cglib   
com.jdon.cache   
com.jdon.components.encache   
com.jdon.components.guavacache   
com.jdon.container.access   
com.jdon.container.access.xml   
com.jdon.container.finder   
com.jdon.container.interceptor   
com.jdon.container.visitor.http   
com.jdon.controller.cache   
com.jdon.domain.advsior   
com.jdon.domain.message   
com.jdon.domain.model.cache   
 

com.jdon.aop.interceptorStartable 的使用
 

实现 Startablecom.jdon.aop.interceptor 中的类
 class CacheInterceptor
          Cache Interceptor all Interceptors are added in picoContainer method match can be done by this class, CacheInterceptor only interceptor the method getXXXXX.
 class ComponentMessageInterceptor
          same as com.jdon.domain.message.MessageInterceptor this is for components or service test see com.jdon.sample.test.event.A
 class InterceptorsChain
          Interceptors chain all interceptors will add in this collection
 class PoolInterceptor
          PoolInterceptor must be the last in Interceptors. this class is active for the pojoServices that implements com.jdon.controller.pool.Poolable.
 class SessionContextInterceptor
          interceptor the SessionContextAcceptable concrete services, and inject the SessionContext object into them, so these application service can got the datas from session that saved by framework.
 class StatefulInterceptor
          StatefulInterceptor is a Interceptor of creating target object. must be the last in Interceptors.
 

com.jdon.aop.joinpointStartable 的使用
 

实现 Startablecom.jdon.aop.joinpoint 中的类
 class AdvisorChainFactory
          create the all interceptor instances
 

com.jdon.asyncStartable 的使用
 

实现 Startablecom.jdon.async 中的类
 class EventMessageFirer
           
 

com.jdon.async.disruptorStartable 的使用
 

实现 Startablecom.jdon.async.disruptor 中的类
 class DisruptorFactory
          SLEEPING is a better option when you have a large number of event processors and you need throughput when you don't mind a 1ms latency hit in the worse case.
 class DisruptorForCommandFactory
           
 

com.jdon.bussinessproxy.dyncproxy.cglibStartable 的使用
 

实现 Startablecom.jdon.bussinessproxy.dyncproxy.cglib 中的类
 class CGLIBDynamicProxyWeaving
          CGLIB Dynamic Proxy Weaving mode Weaving implemention is dynamic proxy Every target service object has its DynamicProxyWeaving object problem: memory leak is more entwined in cglib.
 

com.jdon.cacheStartable 的使用
 

实现 Startablecom.jdon.cache 中的类
 class LRUCache
          the LRU Cache implemention. default is OFBiz's UtilCache, we can replace it with better cache product.
 

com.jdon.components.encacheStartable 的使用
 

实现 Startablecom.jdon.components.encache 中的类
 class EncacheProvider
           
 

com.jdon.components.guavacacheStartable 的使用
 

实现 Startablecom.jdon.components.guavacache 中的类
 class GuavaCacheProvider
           
 

com.jdon.container.accessStartable 的使用
 

实现 Startablecom.jdon.container.access 中的类
 class TargetMetaDefHolder
          以service name为key, Service TargetMetaDef为value this class is registered in contain.xml every name has one TargetMetaDef instance, if multi thread access same TargetMetaDef instance, they will crash.
 

com.jdon.container.access.xmlStartable 的使用
 

实现 Startablecom.jdon.container.access.xml 中的类
 class TargetMetaDefXmlLoader
          Load target service meta definition from jdonframework.xml this class is registered in container.xml
 

com.jdon.container.finderStartable 的使用
 

实现 Startablecom.jdon.container.finder 中的类
 class ContainerCallback
          the components in container can call the container by this class; set this class as components construtor parameter.
 

com.jdon.container.interceptorStartable 的使用
 

实现 Startablecom.jdon.container.interceptor 中的类
 class BeforeAfterMethodTarget
           
 class CGLIBMethodInterceptorImp
           
 

com.jdon.container.visitor.httpStartable 的使用
 

实现 Startablecom.jdon.container.visitor.http 中的类
 class HttpSessionVisitorFactoryImp
          the factory of ComponentVisitor's one sub-class HttpSessionComponentVisitor if you replace this class with your Session Implementations , modify contain.xml about this class call this class by name :com.jdon.container.finder.ComponentKeys.VISITOR_FACTORY used in UserTargetMetaDefFactory.createTargetMetaRequest(TargetMetaDef, com.jdon.controller.context.ContextHolder) ComponentVisitor is ComponentOriginalVisitor that configured in contain.xml
 

com.jdon.controller.cacheStartable 的使用
 

实现 Startablecom.jdon.controller.cache 中的类
 class CacheManager
          Cacahe Managerment Pattern Client objects request objects from a CacheManager object by calling its fetchObject method.
 class InstanceCache
          simple instance cache this class can be used cache some components.
 

com.jdon.domain.advsiorStartable 的使用
 

实现 Startablecom.jdon.domain.advsior 中的类
 class ModelAdvisor
          when a model with a @Introduce annotation is injected to another model, the injected model will be enhanced using cglib.
 

com.jdon.domain.messageStartable 的使用
 

实现 Startablecom.jdon.domain.message 中的类
 class MessageInterceptor
          this is for domain model, there is another for components/services com.jdon.aop.interceptor.ComponentMessageInterceptor useage see:com.jdon.sample.test.domain 1. create dynamic proxy for a Model in DomainCacheInterceptor. 2. intercepte the method with @send 3.
 

com.jdon.domain.model.cacheStartable 的使用
 

实现 Startablecom.jdon.domain.model.cache 中的类
 class DomainCacheInterceptor
          aspect.xml : in Repository/DAO class add:
 class ModelCacheManager
           
 



Copyright © 2013. All Rights Reserved.