| 限定符和类型 | 类和说明 |
|---|---|
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.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AdvisorChainFactory
create the all interceptor instances
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
EventMessageFirer |
| 限定符和类型 | 类和说明 |
|---|---|
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 |
| 限定符和类型 | 类和说明 |
|---|---|
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.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
LRUCache
the LRU Cache implemention. default is OFBiz's UtilCache, we can replace it
with better cache product.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
EncacheProvider |
| 限定符和类型 | 类和说明 |
|---|---|
class |
GuavaCacheProvider |
| 限定符和类型 | 类和说明 |
|---|---|
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.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
TargetMetaDefXmlLoader
Load target service meta definition from jdonframework.xml this class is
registered in container.xml
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ContainerCallback
the components in container can call the container by this class; set this
class as components construtor parameter.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
BeforeAfterMethodTarget |
class |
CGLIBMethodInterceptorImp |
| 限定符和类型 | 类和说明 |
|---|---|
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 |
| 限定符和类型 | 类和说明 |
|---|---|
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.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ModelAdvisor
when a model with a @Introduce annotation is injected to another model, the
injected model will be enhanced using cglib.
|
| 限定符和类型 | 类和说明 |
|---|---|
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.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
DomainCacheInterceptor
aspect.xml :
|
class |
ModelCacheManager |
Copyright © 2018. All rights reserved.