org.eclipse.emf.cdo.spi.server
Interface InternalSessionManager

All Superinterfaces:
IContainer<ISession>, INotifier, ISessionManager

public interface InternalSessionManager
extends ISessionManager

Since:
3.0
No Implement
This interface is not intended to be implemented by clients.
No Extend
This interface is not intended to be extended by clients.

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.container.IContainer
IContainer.Modifiable<E>
 
Method Summary
 IPermissionManager getPermissionManager()
           
 InternalRepository getRepository()
           
 InternalSession getSession(int sessionID)
           
 InternalSession[] getSessions()
           
 IUserManager getUserManager()
           
 InternalSession openSession(ISessionProtocol sessionProtocol)
           
 void sendBranchNotification(InternalSession sender, InternalCDOBranch branch)
           
 void sendCommitNotification(InternalSession sender, CDOCommitInfo commitInfo)
           
 void sendLockNotification(InternalSession sender, CDOLockChangeInfo lockChangeInfo)
           
 List<Integer> sendRemoteMessageNotification(InternalSession sender, CDORemoteSessionMessage message, int[] recipients)
           
 void sendRemoteSessionNotification(InternalSession sender, byte opcode)
           
 void sendRepositoryStateNotification(CDOCommonRepository.State oldState, CDOCommonRepository.State newState)
          Deprecated. use sendRepositoryStateNotification(org.eclipse.emf.cdo.common.CDOCommonRepository.State, org.eclipse.emf.cdo.common.CDOCommonRepository.State, CDOID) instead
 void sendRepositoryStateNotification(CDOCommonRepository.State oldState, CDOCommonRepository.State newState, CDOID rootResourceID)
           
 void sendRepositoryTypeNotification(CDOCommonRepository.Type oldType, CDOCommonRepository.Type newType)
           
 void sessionClosed(InternalSession session)
           
 void setPermissionManager(IPermissionManager permissionManager)
           
 void setRepository(InternalRepository repository)
           
 void setUserManager(IUserManager userManager)
           
 
Methods inherited from interface org.eclipse.net4j.util.container.IContainer
getElements, isEmpty
 
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
 

Method Detail

getRepository

InternalRepository getRepository()
Specified by:
getRepository in interface ISessionManager

setRepository

void setRepository(InternalRepository repository)

getUserManager

IUserManager getUserManager()
Since:
4.1

setUserManager

void setUserManager(IUserManager userManager)

getPermissionManager

IPermissionManager getPermissionManager()
Since:
4.1

setPermissionManager

void setPermissionManager(IPermissionManager permissionManager)
Since:
4.1

getSessions

InternalSession[] getSessions()
Specified by:
getSessions in interface ISessionManager

getSession

InternalSession getSession(int sessionID)
Specified by:
getSession in interface ISessionManager

openSession

InternalSession openSession(ISessionProtocol sessionProtocol)
Returns:
Never null

sessionClosed

void sessionClosed(InternalSession session)

sendRepositoryTypeNotification

void sendRepositoryTypeNotification(CDOCommonRepository.Type oldType,
                                    CDOCommonRepository.Type newType)

sendRepositoryStateNotification

@Deprecated
void sendRepositoryStateNotification(CDOCommonRepository.State oldState,
                                                CDOCommonRepository.State newState)
Deprecated. use sendRepositoryStateNotification(org.eclipse.emf.cdo.common.CDOCommonRepository.State, org.eclipse.emf.cdo.common.CDOCommonRepository.State, CDOID) instead


sendRepositoryStateNotification

void sendRepositoryStateNotification(CDOCommonRepository.State oldState,
                                     CDOCommonRepository.State newState,
                                     CDOID rootResourceID)
Since:
4.1

sendBranchNotification

void sendBranchNotification(InternalSession sender,
                            InternalCDOBranch branch)

sendCommitNotification

void sendCommitNotification(InternalSession sender,
                            CDOCommitInfo commitInfo)

sendLockNotification

void sendLockNotification(InternalSession sender,
                          CDOLockChangeInfo lockChangeInfo)
Since:
4.1

sendRemoteSessionNotification

void sendRemoteSessionNotification(InternalSession sender,
                                   byte opcode)

sendRemoteMessageNotification

List<Integer> sendRemoteMessageNotification(InternalSession sender,
                                            CDORemoteSessionMessage message,
                                            int[] recipients)


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.