|
|
|
@ -6,6 +6,9 @@ import com.fanruan.carina.annotions.DependsOn;
|
|
|
|
|
import com.fanruan.carina.annotions.FineComponent; |
|
|
|
|
import com.fanruan.carina.annotions.Start; |
|
|
|
|
import com.fanruan.carina.annotions.Supplemental; |
|
|
|
|
import com.fanruan.plugin.autonomy.AutonomyClassManagerGroup; |
|
|
|
|
import com.fanruan.plugin.autonomy.AutonomyClassManagerProvider; |
|
|
|
|
import com.fr.plugin.ExtraClassManager; |
|
|
|
|
|
|
|
|
|
import javax.servlet.ServletContext; |
|
|
|
|
|
|
|
|
@ -33,6 +36,7 @@ public class DesignPluginComponent extends PluginComponent {
|
|
|
|
|
*/ |
|
|
|
|
@Start |
|
|
|
|
public void start() { |
|
|
|
|
ExtraClassManager.getInstance().registerAutonomyClassManager(Carina.getApplicationContext().group(AutonomyClassManagerGroup.class).getAll().toArray(new AutonomyClassManagerProvider[0])); |
|
|
|
|
super.start(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|