Class PrefabFactoryImpl
- java.lang.Object
-
- com.wavemaker.runtime.prefab.impl.PrefabFactoryImpl
-
- All Implemented Interfaces:
PrefabFactory
@Service public class PrefabFactoryImpl extends java.lang.Object implements PrefabFactory
PrefabFactoryfor creatingPrefabs.
-
-
Constructor Summary
Constructors Constructor Description PrefabFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrefabnewPrefab(java.io.File prefabDir)Returns an appropriatePrefabfor the jar file.
-
-
-
Method Detail
-
newPrefab
public Prefab newPrefab(java.io.File prefabDir) throws java.lang.Exception
Description copied from interface:PrefabFactoryReturns an appropriatePrefabfor the jar file.- Specified by:
newPrefabin interfacePrefabFactory- Parameters:
prefabDir- source file- Returns:
Prefabobject- Throws:
java.lang.Exception- ifPrefabcannot be created
-
-