Package com.cognifide.slice.api.model

Examples of com.cognifide.slice.api.model.InitializableModel


    T instance = newInstance(sliceResourceClass);
    if (resource != null) {
      instance = mapper.get(resource, instance);
    }
    if (InitializableModel.class.isAssignableFrom(sliceResourceClass)) {
      InitializableModel initializableModel = (InitializableModel) instance;
      initializableModel.afterCreated();
    }
    return instance;
  }
View Full Code Here


    T instance = newInstance(sliceResourceClass);
    if (resource != null) {
      instance = mapper.get(resource, instance);
    }
    if (InitializableModel.class.isAssignableFrom(sliceResourceClass)) {
      InitializableModel initializableModel = (InitializableModel) instance;
      initializableModel.afterCreated();
    }
    return instance;
  }
View Full Code Here

TOP

Related Classes of com.cognifide.slice.api.model.InitializableModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.