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

The following examples show how to use org.activiti.engine.impl.persistence.entity.GroupIdentityManager. 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: ActGroupEntityServiceFactory.java    From Shop-for-JavaWeb with MIT License 4 votes vote down vote up
public Class<?> getSessionType() {
	// 返回原始的GroupIdentityManager类型
	return GroupIdentityManager.class;
}
 
Example #3
Source File: AiaGroupEntityManagerFactory.java    From activiti-in-action-codes with Apache License 2.0 4 votes vote down vote up
@Override
public Class<?> getSessionType() {
    return GroupIdentityManager.class;
}
 
Example #4
Source File: CustomGroupEntityManagerFactory.java    From lemon with Apache License 2.0 4 votes vote down vote up
public Class<?> getSessionType() {
    return GroupIdentityManager.class;
}