Class AbstractBackendClient<C extends AbstractBackendClient<C,S>, S>
java.lang.Object
ch.nolix.system.application.main.AbstractClient<C>
ch.nolix.system.application.main.AbstractBackendClient<C,S>
- Type Parameters:
C- is the type of aAbstractBackendClient.S- is the type of the application service of theIApplicationof aAbstractBackendClient.
- All Implemented Interfaces:
ISecuriyModeHolder, ConnectionSideRequestable, Closeable, CloseStateRequestable, GroupCloseable, IBackendClient<S>, IClient, AutoCloseable
- Direct Known Subclasses:
AbstractWebClient
public abstract class AbstractBackendClient<C extends AbstractBackendClient<C,S>, S>
extends AbstractClient<C>
implements IBackendClient<S>
- Author:
- Silvan Wyss
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringfinal Sfinal booleanfinal voidLets the currentGroupCloseablenote a close.Methods inherited from class AbstractClient
getSecurityMode, getStoredCloseController, getUrlInstanceNameOfTargetApplication, hasRequestedConnection, hasUrlInstanceNameOfTargetApplication, isClosedMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CloseStateRequestable
isOpenMethods inherited from interface ConnectionSideRequestable
isOnFrontendMethods inherited from interface GroupCloseable
close, createCloseDependencyTo, getStoredCloseController, isClosedMethods inherited from interface IClient
getUrlInstanceNameOfTargetApplication, hasRequestedConnection, hasUrlInstanceNameOfTargetApplicationMethods inherited from interface ISecuriyModeHolder
getSecurityMode
-
Constructor Details
-
AbstractBackendClient
public AbstractBackendClient()
-
-
Method Details
-
getApplicationName
- Returns:
- the name of the parent
Applicationof the currentAbstractBackendClient.
-
getApplicationAsTarget
- Specified by:
getApplicationAsTargetin interfaceIBackendClient<C extends AbstractBackendClient<C,S>> - Returns:
- the application of the current
IBackendClientas target.
-
getStoredApplicationService
- Specified by:
getStoredApplicationServicein interfaceIBackendClient<C extends AbstractBackendClient<C,S>> - Returns:
- the application service of the parent application of the current
IBackendClient.
-
isOnBackend
public final boolean isOnBackend()- Specified by:
isOnBackendin interfaceConnectionSideRequestable- Returns:
- true if the current
ConnectionSideRequestableis on the back-end, false otherwise.
-
noteClose
public final void noteClose()Lets the currentGroupCloseablenote a close.- Specified by:
noteClosein interfaceGroupCloseable
-