public class ServerUtilities extends Object
| Constructor and Description | 
|---|
ServerUtilities()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
deregisterPropertyBundle(LibrarySession session,
                        String valueDefaultName,
                        String serverName)
Unlocks a server property bundle and frees it. 
 | 
static PropertyBundle | 
getPropertyBundle(LibrarySession session,
                 String valueDefaultName,
                 String serverName)
Returns the server property bundle for the given server from
 the value default. 
 | 
static PropertyBundle[] | 
getPropertyBundles(LibrarySession session,
                  String valueDefaultName)
Returns all active server property bundles in the value default. 
 | 
static PropertyBundle | 
registerPropertyBundle(LibrarySession session,
                      String valueDefaultName,
                      String serverName,
                      PropertyBundle serverPropertyBundle)
Registers the property bundle for the server and session locks it. 
 | 
public static PropertyBundle registerPropertyBundle(LibrarySession session, String valueDefaultName, String serverName, PropertyBundle serverPropertyBundle) throws IfsException
session - handle to the LibrarySessionvalueDefaultName - name of the ValueDefaultserverName - name of the server trying to register the property bundle.serverPropertyBundle - server property bundleIfsException - if the operation failspublic static void deregisterPropertyBundle(LibrarySession session, String valueDefaultName, String serverName) throws IfsException
session - handle to the sessionvalueDefaultName - name of the valuedefault used to get to the server property bundleserverName - name of the server whose property bundle needs to be removedIfsException - if the operation failspublic static PropertyBundle getPropertyBundle(LibrarySession session, String valueDefaultName, String serverName) throws IfsException
session - handle to Library SessionvalueDefaultName - name of the value defaultserverName - name of the serverIfsException - if the operation failspublic static PropertyBundle[] getPropertyBundles(LibrarySession session, String valueDefaultName) throws IfsException
session - handle to the LibrarySessionvalueDefaultName - name of the valueDefaultIfsException - if the operation failsCopyright © 2025. All rights reserved.