class ServerSideResourceManager extends OSResourceManager
This allows initialization and creation of network objects, so that the client-side can call back (if needed) on the server-side, to use these resources.
| Modifier and Type | Field and Description |
|---|---|
private static java.util.concurrent.atomic.AtomicBoolean |
IS_INIT
Flag required to initialize the remote server-side resources only once per JVM.
|
LOG, resources| Constructor and Description |
|---|
ServerSideResourceManager() |
| Modifier and Type | Method and Description |
|---|---|
(package private) EnvironmentAccessor |
initializeEnvironments()
/**
Get the OS
OsResourceType.ENVIRONMENTS resource. |
(package private) FileSystem |
initializeFileSystem()
Initialize the OS
OsResourceType.FILESYSTEM resource. |
(package private) NativeAPICaller |
initializeLibrary()
Initialize the OS
OsResourceType.LIBRARY resource. |
private static void |
initializeLibraryResource()
Initialize the
OsResourceType.LIBRARY resource on server-side, by creating a network proxy for the
LibraryDaemon. |
(package private) LowLevelBuffer |
initializeMemptr()
Initialize the OS
OsResourceType.MEMPTR resource. |
private static void |
initializeMemptrResource()
Initialize the
OsResourceType.MEMPTR resource on server-side, by creating a network proxy for the
MemoryDaemon. |
(package private) LowLevelSocket |
initializeSocket()
Initialize the OS
OsResourceType.SOCKET resource. |
private static void |
initializeSocketResource()
Initialize the
OsResourceType.SOCKET resource on server-side, by creating a network proxy for the
LowLevelSocket. |
(package private) WebService |
initializeWebService()
Initialize the OS
OsResourceType.WEBSERVICE resource. |
getEnvironments, getFileSystem, getInstance, getLibrary, getMemptr, getSocket, getWebService, isServerSideEnvironments, isServerSideFileSystem, isServerSideLibrary, isServerSideMemptr, isServerSideSocket, isServerSideWebServiceprivate static final java.util.concurrent.atomic.AtomicBoolean IS_INIT
LowLevelBuffer initializeMemptr()
OsResourceType.MEMPTR resource.
If the OSResourceManager.isServerSideMemptr() memptr is server-side, the MemoryDaemon is proxied over
the network and this returns a local proxy, to be used on server-side.
initializeMemptr in class OSResourceManagerLowLevelBuffer network or local object.NativeAPICaller initializeLibrary()
OsResourceType.LIBRARY resource.
If the OSResourceManager.isServerSideLibrary() library is server-side, the LibraryDaemon is proxied over
the network and this returns a local proxy, to be used on server-side.
initializeLibrary in class OSResourceManagerNativeAPICaller network or local object.LowLevelSocket initializeSocket()
OsResourceType.SOCKET resource.
If the OSResourceManager.isServerSideSocket() client-socket is server-side, the LowLevelSocket is
proxied over the network and this returns a local proxy, to be used on server-side.
initializeSocket in class OSResourceManagerLowLevelSocket network or local object.FileSystem initializeFileSystem()
OsResourceType.FILESYSTEM resource.
If the OSResourceManager.isServerSideFileSystem() file system is server-side, the FileSystem is
proxied over the network and this returns a local proxy, to be used on server-side.
initializeFileSystem in class OSResourceManagerFileSystem network or local object.WebService initializeWebService()
OsResourceType.WEBSERVICE resource.initializeWebService in class OSResourceManagerWebService network or local object.EnvironmentAccessor initializeEnvironments()
OsResourceType.ENVIRONMENTS resource.initializeEnvironments in class OSResourceManagerEnvironmentAccessor network or local object.private static void initializeMemptrResource()
OsResourceType.MEMPTR resource on server-side, by creating a network proxy for the
MemoryDaemon.private static void initializeLibraryResource()
OsResourceType.LIBRARY resource on server-side, by creating a network proxy for the
LibraryDaemon.private static void initializeSocketResource()
OsResourceType.SOCKET resource on server-side, by creating a network proxy for the
LowLevelSocket.