public abstract class AbstractClientSessionManager extends Object implements SessionManager
| Constructor and Description |
|---|
AbstractClientSessionManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected AbstractClientSession |
getCurrentAbstractSession() |
<S extends ClientSession> |
getCurrentSession() |
protected abstract <D extends Diagram> |
getFactories(D diagram) |
<D extends Diagram,S extends ClientSession> |
getSessionFactory(D diagram,
Class<S> sessionType) |
void |
handleClientError(ClientRuntimeError error) |
void |
handleCommandError(CommandException ce) |
<S extends ClientSession> |
open(S session) |
void |
pause() |
protected abstract void |
postDestroy()
Called once active session has been destroyed.
|
protected abstract void |
postOpen()
Called once a session has been opened.
|
protected abstract void |
postPause()
Called once active session has been paused.
|
protected abstract void |
postResume()
Called once a session has been resumed.
|
<S extends ClientSession> |
resume(S session) |
protected abstract <D extends Diagram> List<ClientSessionFactory<?>> getFactories(D diagram)
protected abstract void postOpen()
protected abstract void postPause()
protected abstract void postResume()
protected abstract void postDestroy()
public <D extends Diagram,S extends ClientSession> ClientSessionFactory<S> getSessionFactory(D diagram, Class<S> sessionType)
getSessionFactory in interface SessionManagerpublic <S extends ClientSession> S getCurrentSession()
getCurrentSession in interface SessionManagerpublic <S extends ClientSession> void open(S session)
open in interface SessionManagerpublic void pause()
pause in interface SessionManagerpublic <S extends ClientSession> void resume(S session)
resume in interface SessionManagerpublic void destroy()
destroy in interface SessionManagerpublic void handleCommandError(CommandException ce)
public void handleClientError(ClientRuntimeError error)
protected AbstractClientSession getCurrentAbstractSession()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.