本文整理汇总了Java中org.jboss.errai.ioc.client.container.SyncBeanManager类的典型用法代码示例。如果您正苦于以下问题:Java SyncBeanManager类的具体用法?Java SyncBeanManager怎么用?Java SyncBeanManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SyncBeanManager类属于org.jboss.errai.ioc.client.container包,在下文中一共展示了SyncBeanManager类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: Calendar
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
private Calendar(Integer tenantId, Fetchable<Collection<I>> dataProvider, Fetchable<List<G>> groupProvider,
DataProvider<G,
I> instanceCreator, SyncBeanManager beanManager) {
this.beanManager = beanManager;
this.tenantId = tenantId;
shifts = new HashMap<>();
didTenantChange = true;
setInstanceCreator(instanceCreator);
setGroupProvider(groupProvider);
setDataProvider(dataProvider);
timer = new Timer() {
@Override
public void run() {
forceUpdate();
}
};
refresh();
}
开发者ID:kiegroup,项目名称:optashift-employee-rostering,代码行数:25,代码来源:Calendar.java
示例2: registerNewActivity
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
private static void registerNewActivity(final SyncBeanManager beanManager,
final ActivityBeansCache activityBeansCache,
final JSNativeEditor newNativeEditor,
final PlaceManager placeManager) {
final JSEditorActivity activity;
activity = new JSEditorActivity(newNativeEditor,
placeManager);
final Set<Annotation> qualifiers = new HashSet<Annotation>(Arrays.asList(DEFAULT_QUALIFIERS));
final SingletonBeanDef<JSEditorActivity, JSEditorActivity> beanDef = new SingletonBeanDef<JSEditorActivity, JSEditorActivity>(activity,
JSEditorActivity.class,
qualifiers,
newNativeEditor.getId(),
true,
WorkbenchEditorActivity.class,
Activity.class);
beanManager.registerBean(beanDef);
beanManager.registerBeanTypeAlias(beanDef,
WorkbenchEditorActivity.class);
beanManager.registerBeanTypeAlias(beanDef,
Activity.class);
activityBeansCache.addNewEditorActivity(beanManager.lookupBeans(newNativeEditor.getId()).iterator().next(),
newNativeEditor.getPriority(),
newNativeEditor.getResourceType());
}
开发者ID:kiegroup,项目名称:appformer,代码行数:27,代码来源:EditorJSExporter.java
示例3: registerPlugin
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
public static void registerPlugin(final Object _obj) {
final JavaScriptObject obj = (JavaScriptObject) _obj;
if (JSNativePlugin.hasStringProperty(obj,
"id") && JSNativePlugin.hasTemplate(obj)) {
final SyncBeanManager beanManager = IOC.getBeanManager();
final ActivityBeansCache activityBeansCache = beanManager.lookupBean(ActivityBeansCache.class).getInstance();
final JSNativeScreen newNativePlugin = beanManager.lookupBean(JSNativeScreen.class).getInstance();
newNativePlugin.build(obj);
JSWorkbenchScreenActivity activity = JSExporterUtils.findActivityIfExists(beanManager,
newNativePlugin.getId(),
JSWorkbenchScreenActivity.class);
if (activity == null) {
registerNewActivity(beanManager,
activityBeansCache,
newNativePlugin);
} else {
updateExistentActivity(newNativePlugin,
activity);
}
}
}
开发者ID:kiegroup,项目名称:appformer,代码行数:26,代码来源:PluginJSExporter.java
示例4: registerNewActivity
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
private static void registerNewActivity(final SyncBeanManager beanManager,
final ActivityBeansCache activityBeansCache,
final JSNativeScreen newNativePlugin) {
final JSWorkbenchScreenActivity activity;
activity = new JSWorkbenchScreenActivity(newNativePlugin,
beanManager.lookupBean(PlaceManager.class).getInstance());
final Set<Annotation> qualifiers = new HashSet<Annotation>(Arrays.asList(DEFAULT_QUALIFIERS));
final SingletonBeanDef<JSWorkbenchScreenActivity, JSWorkbenchScreenActivity> beanDef =
new SingletonBeanDef<JSWorkbenchScreenActivity, JSWorkbenchScreenActivity>(activity,
JSWorkbenchScreenActivity.class,
qualifiers,
newNativePlugin.getId(),
true,
WorkbenchScreenActivity.class,
Activity.class);
beanManager.registerBean(beanDef);
beanManager.registerBeanTypeAlias(beanDef,
WorkbenchScreenActivity.class);
beanManager.registerBeanTypeAlias(beanDef,
Activity.class);
activityBeansCache.addNewScreenActivity(beanManager.lookupBeans(newNativePlugin.getId()).iterator().next());
}
开发者ID:kiegroup,项目名称:appformer,代码行数:25,代码来源:PluginJSExporter.java
示例5: registerNewActivity
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
private static void registerNewActivity(final SyncBeanManager beanManager,
final ActivityBeansCache activityBeansCache,
final JSNativeSplashScreen newNativePlugin,
final SplashView splashView) {
final JSSplashScreenActivity activity;
activity = new JSSplashScreenActivity(newNativePlugin,
splashView);
final Set<Annotation> qualifiers = new HashSet<Annotation>(Arrays.asList(DEFAULT_QUALIFIERS));
final SingletonBeanDef<JSSplashScreenActivity, JSSplashScreenActivity> beanDef =
new SingletonBeanDef<JSSplashScreenActivity, JSSplashScreenActivity>(activity,
JSSplashScreenActivity.class,
qualifiers,
newNativePlugin.getId(),
true,
SplashScreenActivity.class,
Activity.class);
beanManager.registerBean(beanDef);
beanManager.registerBeanTypeAlias(beanDef,
SplashScreenActivity.class);
beanManager.registerBeanTypeAlias(beanDef,
Activity.class);
activityBeansCache.addNewSplashScreenActivity(beanManager.lookupBeans(newNativePlugin.getId()).iterator().next());
}
开发者ID:kiegroup,项目名称:appformer,代码行数:25,代码来源:SplashScreenJSExporter.java
示例6: registerPerspective
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
public static void registerPerspective(final Object _obj) {
final JavaScriptObject obj = (JavaScriptObject) _obj;
if (JSNativePlugin.hasStringProperty(obj,
"id")) {
final SyncBeanManager beanManager = IOC.getBeanManager();
final ActivityBeansCache activityBeansCache = beanManager.lookupBean(ActivityBeansCache.class).getInstance();
final JSNativePerspective newNativePerspective = beanManager.lookupBean(JSNativePerspective.class).getInstance();
newNativePerspective.build(obj);
final JSWorkbenchPerspectiveActivity activity = new JSWorkbenchPerspectiveActivity(newNativePerspective);
beanManager.registerBean(new SingletonBeanDef<PerspectiveActivity, JSWorkbenchPerspectiveActivity>(activity,
PerspectiveActivity.class,
new HashSet<Annotation>(Arrays.asList(DEFAULT_QUALIFIERS)),
newNativePerspective.getId(),
true,
JSWorkbenchPerspectiveActivity.class));
activityBeansCache.addNewPerspectiveActivity(beanManager.lookupBeans(newNativePerspective.getId()).iterator().next());
}
}
开发者ID:kiegroup,项目名称:appformer,代码行数:24,代码来源:PerspectiveJSExporter.java
示例7: registerResourceTypeDefinition
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
public static void registerResourceTypeDefinition(final Object _obj) {
final JavaScriptObject obj = (JavaScriptObject) _obj;
if (JSNativePlugin.hasStringProperty(obj,
"id")) {
final SyncBeanManager beanManager = IOC.getBeanManager();
final JSNativeClientResourceType newNativeClientResourceType = beanManager.lookupBean(JSNativeClientResourceType.class).getInstance();
newNativeClientResourceType.build(obj);
JSClientResourceType jsClientResourceType = new JSClientResourceType(newNativeClientResourceType);
beanManager.registerBean(new SingletonBeanDef<ClientResourceType, JSClientResourceType>(jsClientResourceType,
ClientResourceType.class,
new HashSet<Annotation>(Arrays.asList(DEFAULT_QUALIFIERS)),
jsClientResourceType.getId(),
true,
JSClientResourceType.class));
}
}
开发者ID:kiegroup,项目名称:appformer,代码行数:18,代码来源:ResourceTypeDefinitionJSExporter.java
示例8: PanelManagerImpl
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
@Inject
public PanelManagerImpl(
Event<PlaceGainFocusEvent> placeGainFocusEvent,
Event<PlaceLostFocusEvent> placeLostFocusEvent,
Event<PanelFocusEvent> panelFocusEvent,
Event<SelectPlaceEvent> selectPlaceEvent,
Event<PlaceMaximizedEvent> placeMaximizedEvent,
Event<PlaceMinimizedEvent> placeMinimizedEventEvent,
Event<PlaceHiddenEvent> placeHiddenEvent,
SyncBeanManager iocManager,
Instance<PlaceManager> placeManager,
LayoutSelection layoutSelection,
BeanFactory beanFactory) {
this.placeGainFocusEvent = placeGainFocusEvent;
this.placeLostFocusEvent = placeLostFocusEvent;
this.panelFocusEvent = panelFocusEvent;
this.selectPlaceEvent = selectPlaceEvent;
this.placeMaximizedEvent = placeMaximizedEvent;
this.placeMinimizedEvent = placeMinimizedEventEvent;
this.placeHiddenEvent = placeHiddenEvent;
this.iocManager = iocManager;
this.placeManager = placeManager;
this.layoutSelection = layoutSelection;
this.beanFactory = beanFactory;
}
开发者ID:kiegroup,项目名称:appformer,代码行数:26,代码来源:PanelManagerImpl.java
示例9: WorkbenchLayoutImpl
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
@Inject
public WorkbenchLayoutImpl(SyncBeanManager iocManager,
HeaderPanel root,
WorkbenchDragAndDropManager dndManager,
UberfireDocksContainer uberfireDocksContainer,
WorkbenchPickupDragController dragController,
Div headerPanel,
Div footerPanel) {
this.iocManager = iocManager;
this.root = root;
this.dndManager = dndManager;
this.uberfireDocksContainer = uberfireDocksContainer;
this.dragController = dragController;
this.headerPanel = headerPanel;
this.footerPanel = footerPanel;
}
开发者ID:kiegroup,项目名称:appformer,代码行数:18,代码来源:WorkbenchLayoutImpl.java
示例10: DataSetLookupEditor
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
@Inject
public DataSetLookupEditor(final View view,
SyncBeanManager beanManager,
DataSetFilterEditor filterEditor,
DataSetGroupDateEditor groupDateEditor,
DataSetClientServices clientServices,
Event<DataSetLookupChangedEvent> event) {
this.view = view;
this.beanManager = beanManager;
this.filterEditor = filterEditor;
this.groupDateEditor = groupDateEditor;
this.clientServices = clientServices;
this.changeEvent = event;
this.dataSetLookup = null;
this.lookupConstraints = null;
this.dataSetMetadata = null;
view.init(this);
}
开发者ID:kiegroup,项目名称:appformer,代码行数:19,代码来源:DataSetLookupEditor.java
示例11: NavItemEditor
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
public NavItemEditor(View view,
SyncBeanManager beanManager,
PlaceManager placeManager,
PerspectiveTreeProvider perspectiveTreeProvider,
TargetPerspectiveEditor targetPerspectiveEditor,
PerspectivePluginManager perspectivePluginManager,
Event<NavItemEditStartedEvent> navItemEditStartedEvent,
Event<NavItemEditCancelledEvent> navItemEditCancelledEvent) {
this.beanManager = beanManager;
this.placeManager = placeManager;
this.perspectiveTreeProvider = perspectiveTreeProvider;
this.targetPerspectiveEditor = targetPerspectiveEditor;
this.targetPerspectiveEditor.setOnUpdateCommand(this::onTargetPerspectiveUpdated);
this.perspectivePluginManager = perspectivePluginManager;
this.navItemEditStartedEvent = navItemEditStartedEvent;
this.navItemEditCancelledEvent = navItemEditCancelledEvent;
this.view = view;
this.view.init(this);
}
开发者ID:kiegroup,项目名称:appformer,代码行数:21,代码来源:NavItemEditor.java
示例12: NavItemDefaultEditor
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
@Inject
public NavItemDefaultEditor(NavItemDefaultEditorView view,
SyncBeanManager beanManager,
PlaceManager placeManager,
PerspectiveTreeProvider perspectiveTreeProvider,
TargetPerspectiveEditor targetPerspectiveEditor,
PerspectivePluginManager perspectivePluginManager,
Event<NavItemEditStartedEvent> navItemEditStartedEvent,
Event<NavItemEditCancelledEvent> navItemEditCancelledEvent) {
super(view, beanManager,
placeManager,
perspectiveTreeProvider,
targetPerspectiveEditor,
perspectivePluginManager,
navItemEditStartedEvent,
navItemEditCancelledEvent);
super.setChildEditorClass(NavItemDefaultEditor.class);
}
开发者ID:kiegroup,项目名称:appformer,代码行数:21,代码来源:NavItemDefaultEditor.java
示例13: NavRootNodeEditor
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
@Inject
public NavRootNodeEditor(NavRootNodeEditorView view,
SyncBeanManager beanManager,
PlaceManager placeManager,
PerspectiveTreeProvider perspectiveTreeProvider,
TargetPerspectiveEditor targetPerspectiveEditor,
PerspectivePluginManager perspectivePluginManager,
Event<NavItemEditStartedEvent> navItemEditStartedEvent,
Event<NavItemEditCancelledEvent> navItemEditCancelledEvent) {
super(view, beanManager,
placeManager,
perspectiveTreeProvider,
targetPerspectiveEditor,
perspectivePluginManager,
navItemEditStartedEvent,
navItemEditCancelledEvent);
this.view = view;
this.view.init(this);
super.setChildEditorClass(NavItemDefaultEditor.class);
}
开发者ID:kiegroup,项目名称:appformer,代码行数:24,代码来源:NavRootNodeEditor.java
示例14: DisplayerScreenPresenter
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
@Inject
public DisplayerScreenPresenter(SyncBeanManager beanManager,
DataSetClientServices dataSetClientServices,
UUIDGenerator uuidGenerator,
PerspectiveManager perspectiveManager,
PlaceManager placeManager,
DisplayerViewer displayerViewer,
PanelManager panelManager,
PerspectiveCoordinator perspectiveCoordinator,
Event<ChangeTitleWidgetEvent> changeTitleEvent) {
this.beanManager = beanManager;
this.dataSetClientServices = dataSetClientServices;
this.uuidGenerator = uuidGenerator;
this.placeManager = placeManager;
this.perspectiveManager = perspectiveManager;
this.displayerViewer = displayerViewer;
this.panelManager = panelManager;
this.perspectiveCoordinator = perspectiveCoordinator;
this.menuActionsButton = getMenuActionsButton();
this.changeTitleEvent = changeTitleEvent;
this.jsonMarshaller = DisplayerSettingsJSONMarshaller.get();
}
开发者ID:kiegroup,项目名称:appformer,代码行数:24,代码来源:DisplayerScreenPresenter.java
示例15: DataSetDefWizardScreen
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
@Inject
public DataSetDefWizardScreen(final SyncBeanManager beanManager,
final DataSetEditorWorkflowFactory workflowFactory,
final Caller<DataSetDefVfsServices> services,
final DataSetClientServices clientServices,
final Event<NotificationEvent> notification,
final PlaceManager placeManager,
final ErrorPopupPresenter errorPopupPresenter,
final SavePopUpPresenter savePopUpPresenter,
final DataSetDefScreenView view) {
this.beanManager = beanManager;
this.workflowFactory = workflowFactory;
this.services = services;
this.clientServices = clientServices;
this.notification = notification;
this.placeManager = placeManager;
this.errorPopupPresenter = errorPopupPresenter;
this.savePopUpPresenter = savePopUpPresenter;
this.view = view;
}
开发者ID:kiegroup,项目名称:appformer,代码行数:21,代码来源:DataSetDefWizardScreen.java
示例16: SQLDataSetEditWorkflow
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
@Inject
public SQLDataSetEditWorkflow( final DataSetClientServices clientServices,
final DataSetValidatorProvider validatorProvider,
final SyncBeanManager beanManager,
final Event<SaveRequestEvent> saveRequestEvent,
final Event<TestDataSetRequestEvent> testDataSetEvent,
final Event<CancelRequestEvent> cancelRequestEvent,
final View view ) {
super( clientServices,
validatorProvider,
beanManager,
saveRequestEvent,
testDataSetEvent,
cancelRequestEvent,
view );
}
开发者ID:kiegroup,项目名称:appformer,代码行数:17,代码来源:SQLDataSetEditWorkflow.java
示例17: CSVDataSetBasicAttributesWorkflow
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
@Inject
public CSVDataSetBasicAttributesWorkflow( final DataSetClientServices clientServices,
final DataSetValidatorProvider validatorProvider,
final SyncBeanManager beanManager,
final DataSetDefBasicAttributesEditor basicAttributesEditor,
final Event<SaveRequestEvent> saveRequestEvent,
final Event<TestDataSetRequestEvent> testDataSetEvent,
final Event<CancelRequestEvent> cancelRequestEvent,
final View view ) {
super( clientServices,
validatorProvider,
beanManager,
basicAttributesEditor,
saveRequestEvent,
testDataSetEvent,
cancelRequestEvent,
view );
}
开发者ID:kiegroup,项目名称:appformer,代码行数:20,代码来源:CSVDataSetBasicAttributesWorkflow.java
示例18: DataSetProviderTypeWorkflow
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
@Inject
public DataSetProviderTypeWorkflow(final DataSetClientServices clientServices,
final DataSetValidatorProvider validatorProvider,
final SyncBeanManager beanManager,
final DataSetDefProviderTypeEditor providerTypeEditor,
final Event<SaveRequestEvent> saveRequestEvent,
final Event<CancelRequestEvent> cancelRequestEvent,
final Event<TestDataSetRequestEvent> testDataSetEvent,
final View view) {
super(clientServices,
validatorProvider,
beanManager,
saveRequestEvent,
testDataSetEvent,
cancelRequestEvent,
view);
this.providerTypeEditor = providerTypeEditor;
}
开发者ID:kiegroup,项目名称:appformer,代码行数:21,代码来源:DataSetProviderTypeWorkflow.java
示例19: SQLDataSetBasicAttributesWorkflow
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
@Inject
public SQLDataSetBasicAttributesWorkflow( final DataSetClientServices clientServices,
final DataSetValidatorProvider validatorProvider,
final SyncBeanManager beanManager,
final DataSetDefBasicAttributesEditor basicAttributesEditor,
final Event<SaveRequestEvent> saveRequestEvent,
final Event<TestDataSetRequestEvent> testDataSetEvent,
final Event<CancelRequestEvent> cancelRequestEvent,
final View view ) {
super( clientServices,
validatorProvider,
beanManager,
basicAttributesEditor,
saveRequestEvent,
testDataSetEvent,
cancelRequestEvent,
view );
}
开发者ID:kiegroup,项目名称:appformer,代码行数:20,代码来源:SQLDataSetBasicAttributesWorkflow.java
示例20: DataSetEditorWorkflow
import org.jboss.errai.ioc.client.container.SyncBeanManager; //导入依赖的package包/类
@Inject
public DataSetEditorWorkflow(final DataSetClientServices clientServices,
final DataSetValidatorProvider validatorProvider,
final SyncBeanManager beanManager,
final Event<SaveRequestEvent> saveRequestEvent,
final Event<TestDataSetRequestEvent> testDataSetEvent,
final Event<CancelRequestEvent> cancelRequestEvent,
final View view) {
this.clientServices = clientServices;
this.validatorProvider = validatorProvider;
this.beanManager = beanManager;
this.saveRequestEvent = saveRequestEvent;
this.cancelRequestEvent = cancelRequestEvent;
this.testDataSetEvent = testDataSetEvent;
this.view = view;
}
开发者ID:kiegroup,项目名称:appformer,代码行数:17,代码来源:DataSetEditorWorkflow.java
注:本文中的org.jboss.errai.ioc.client.container.SyncBeanManager类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论