public static void AssemblyInit(TestContext context) { IInitializingModule bytecode = new BytecodeModule(); IInitializingModule cacheBytecode = new CacheBytecodeModule(); IInitializingModule cacheDataChange = new CacheDataChangeModule(); IInitializingModule mapping = new MappingModule(); IInitializingModule mergeBytecode = new MergeBytecodeModule(); }
public void AfterPropertiesSet(IBeanContextFactory beanContextFactory) { // creates objects that implement the interfaces beanContextFactory.RegisterBean(IMPLEMENT_ABSTRACT_OBJECT_FACTORY, typeof(ImplementAbstractObjectFactory)).Autowireable( typeof(IImplementAbstractObjectFactory), typeof(IImplementAbstractObjectFactoryExtendable)); BytecodeModule.AddDefaultBytecodeBehavior(beanContextFactory, typeof(ImplementAbstractObjectBehavior)).PropertyRef("ImplementAbstractObjectFactory", IMPLEMENT_ABSTRACT_OBJECT_FACTORY); }