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

All Superinterfaces:
IContainer<ISession>, INotifier, ISessionManager

public interface InternalSessionManager
extends ISessionManager

If the meaning of this type isn't clear, there really should be more of a description here...

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
 DiffieHellman.Server getAuthenticationServer()
           
 IPermissionManager getPermissionManager()
           
 InternalRepository getRepository()
           
 InternalSession getSession(int sessionID)
           
 InternalSession[] getSessions()
           
 IUserManager getUserManager()
          Deprecated. As of 4.2 use ISessionManager.getAuthenticator()
 InternalSession openSession(ISessionProtocol sessionProtocol)
           
 void sendBranchNotification(InternalSession sender, InternalCDOBranch branch)
           
 void sendCommitNotification(InternalSession sender, CDOCommitInfo commitInfo)
          Deprecated. As of 4.2 use sendCommitNotification(InternalSession, CDOCommitInfo, boolean)
 void sendCommitNotification(InternalSession sender, CDOCommitInfo commitInfo, boolean clearResourcePathCache)
           
 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 setAuthenticationServer(DiffieHellman.Server authenticationServer)
           
 void setPermissionManager(IPermissionManager permissionManager)
           
 void setRepository(InternalRepository repository)
           
 void setUserManager(IUserManager userManager)
          Deprecated. As of 4.2 use ISessionManager.setAuthenticator(IAuthenticator)
 
Methods inherited from interface org.eclipse.emf.cdo.server.ISessionManager
getAuthenticator, setAuthenticator
 
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

@Deprecated
IUserManager getUserManager()
Deprecated. As of 4.2 use ISessionManager.getAuthenticator()

Since:
4.1

setUserManager

@Deprecated
void setUserManager(IUserManager userManager)
Deprecated. As of 4.2 use ISessionManager.setAuthenticator(IAuthenticator)


getAuthenticationServer

DiffieHellman.Server getAuthenticationServer()
Since:
4.2

setAuthenticationServer

void setAuthenticationServer(DiffieHellman.Server authenticationServer)
Since:
4.2

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

@Deprecated
void sendCommitNotification(InternalSession sender,
                                       CDOCommitInfo commitInfo)
Deprecated. As of 4.2 use sendCommitNotification(InternalSession, CDOCommitInfo, boolean)


sendCommitNotification

void sendCommitNotification(InternalSession sender,
                            CDOCommitInfo commitInfo,
                            boolean clearResourcePathCache)
Since:
4.2

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) 2011, 2012 Eike Stepper (Berlin, Germany) and others.