Ignore:
Timestamp:
09/10/13 21:11:41 (11 years ago)
Author:
psniegowski
Message:

HIGHLIGHTS:

  • import refactorization: move Tree, Path, etc.

from core to structure package

  • initial serialization implementation
  • improve PrimeExperiment? test
  • many organizational changes and convenience improvements

CHANGELOG:
Make registry in AbstractTree? final.

Move most classes from core to structure package.

Minor changes.

Switch names of Future and FutureHandler?.

Rename ExceptionResultHandler? to ExceptionHandler?.

Rename ExceptionHandler? to ExceptionDispatcherHandler?.

Fix bug in ParamCandidate? cache.

Add missing synchronization to the BufferedDispatcher?.

Develop @Serialized support.

Rework serialization further.

Add serialization/deserialization interface to ValueParam?.

Move getStorageType and isNumeric from Param down to params hierarchy.

Minor changes.

Improve param type induction.

Add TestSerializedClass? for testing new serialization.

Add info files gor GenePool? and Population.

Add standard.expt exemplary netfile.

Add type name field to PropertiesObject?.

Use PropertiesObject? for PropertiesAccess? instead of ordinary map.

Hide getFramsClass is several more places.

More unification accross FramsClass?, Access and Path.

Add ParamCollection?.

Simplify interface for getting params from FramsClass?, Access
or Path.

Make Access.call() interface variadic.

Add arguments(args) convenience wrapper around new Object[] {args}.

Upgrade to apache.commons.lang version 3.1

Minor improvement with Response constructors.

Develop proper result printing in ClientAtServer?.

Add experimentNetsave to PrimeExperiment?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/main/src/main/java/com/framsticks/params/ReflectionAccessBackend.java

    r101 r105  
    8181
    8282                try {
    83                         for (final ProcedureParam pp : filterInstanceof(framsClass.getParamEntries(), ProcedureParam.class)) {
     83                        for (final ProcedureParam pp : filterInstanceof(framsClass.getParams(), ProcedureParam.class)) {
    8484                                if (!candidates.containsKey(pp.getId())) {
    8585                                        log.trace("java class does implement method {}", pp);
     
    9999                        }
    100100
    101                         for (final EventParam ep : filterInstanceof(framsClass.getParamEntries(), EventParam.class)) {
     101                        for (final EventParam ep : filterInstanceof(framsClass.getParams(), EventParam.class)) {
    102102                                if (!candidates.containsKey(ep.getId())) {
    103103                                        log.trace("java class does not implement the event param {}", ep);
     
    125125                        }
    126126
    127                         for (final ValueParam vp : filterInstanceof(framsClass.getParamEntries(), ValueParam.class)) {
     127                        for (final ValueParam vp : filterInstanceof(framsClass.getParams(), ValueParam.class)) {
    128128                                if (!candidates.containsKey(vp.getId())) {
    129129                                        throw new ConstructionException().msg("missing candidate for param").arg("param", vp);
     
    228228                }
    229229                if (!a.isPrimitive()) {
    230                         return a.equals(b);
     230                        return b.isAssignableFrom(a);//equals(b);
    231231                }
    232232
Note: See TracChangeset for help on using the changeset viewer.