org.activiti.engine.impl.persistence.entity.UserIdentityManager Java Examples

The following examples show how to use org.activiti.engine.impl.persistence.entity.UserIdentityManager. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ReplaceMembershipManager.java    From openwebflow with BSD 2-Clause "Simplified" License 5 votes vote down vote up
@Override
public void beforeStartEngine(ProcessEngineConfigurationImpl conf)
{
	List<SessionFactory> sessionFactories = new ArrayList<SessionFactory>();
	sessionFactories.add(new SessionedEntityManagerFactory(UserIdentityManager.class, new DummyUserIdentityManager(
			_customMembershipManager)));
	sessionFactories.add(new SessionedEntityManagerFactory(GroupIdentityManager.class,
			new DummyGroupIdentityManager(_customMembershipManager)));
	sessionFactories.add(new SessionedEntityManagerFactory(MembershipIdentityManager.class,
			new DummyMembershipIdentityManager()));

	conf.setCustomSessionFactories(sessionFactories);
}
 
Example #2
Source File: CustomUserEntityManagerFactory.java    From hsweb-framework with Apache License 2.0 4 votes vote down vote up
@Override
public Class<?> getSessionType() { // 返回引擎的实体管理器接口
    return UserIdentityManager.class;
}
 
Example #3
Source File: ActUserEntityServiceFactory.java    From Shop-for-JavaWeb with MIT License 4 votes vote down vote up
public Class<?> getSessionType() {
	// 返回原始的UserIdentityManager类型
	return UserIdentityManager.class;
}
 
Example #4
Source File: AiaUserEntityManagerFactory.java    From activiti-in-action-codes with Apache License 2.0 4 votes vote down vote up
@Override
public Class<?> getSessionType() {
    return UserIdentityManager.class;
}