Furnace模塊化服務(wù)容器
Furnace 是一個(gè)輕量級的模塊化服務(wù)容器,基于已有的 JBoss 模塊、Maven 和 CDI 標(biāo)準(zhǔn)技術(shù)構(gòu)建。
啟動(dòng)容器的方法:
Furnace furnace = FurnaceFactory.getFurnace() furnace.addRepository(AddonRepositoryMode.MUTABLE, new File(OperatingSystemUtils.getUserForgeDir(), "addons"));
評論
圖片
表情
