bboss-aop-1.0.5 发布
下载地址:
https://sourceforge.net/project/showfiles.php?group_id=238653&package_id=290546&release_id=658454
版本更新记录:
update function list:
------------------------------
1.0.5 - 2009-02-12
------------------------------
o extend ioc function, support constructor ioc,such as:
<manager id="constructor.a"
singlable="true">
<provider type="A" default="true"
class="com.chinacreator.spi.constructor.ConstructorImpl" />
<construction>
<param value="hello world"/>
<param refid="interceptor.a"/>
<param type="com.chinacreator.spi.constructor.Test"/>
</construction>
</manager>
note:
add construction node to support construction ioc.
sub node param of construction give contructor's parameters,the param node order of construction node is according to
the order of Constructor of the service.
throw param node you can :
give the value of a constructor parameter.
give a service reference for a constructor parameter.
give a common class that can been instance by the ioc container for a constructor parameter.
o extend properties ioc ,add a properties [class] for reference node to support:
give a common class that can been instance by the ioc container to set the value of a field of the service.
such as:
<reference fieldname="test" class="com.chinacreator.spi.reference.Test"/>
------------------------------
1.0.4 - 2009-02-05
------------------------------
o update frameworkset-util.jar.
o update frameworkset-pool.jar.
o update frameworkset.jar.
o support all interfaces of spi service.
expample:
class A implements interface AI,and AI extends interface BaseAI,and so on;
A extends class BaseA and BaseA implements interface IBaseAI and so on;
then you config service A in manager-provider-xxxx.xml with name servevie.a,use BaseSPIManager to get an instance of A,the following is allowed:
AI inst = (AI)BaseSPIManager.getProvider("servevie.a");
BaseAI inst = (BaseAI)BaseSPIManager.getProvider("servevie.a");
IBaseAI inst = (IBaseAI)BaseSPIManager.getProvider("servevie.a");
------------------------------
1.0.3 - 2009-02-04
------------------------------
o Fixed java.lang.NullPointerException in com/chinacreator/spi/interceptor/InterceptorWrapper.java.