Servertec   RealmManager
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Add-ons
How To
Change Log
Future Plans
Knowledge Base
Documentation
Conventions
Users
Reference
iServer API
AccessLogEntry
Codecs
Connection
ConnectionPool...
DString
ErrorLogEntry
EventLogEntry
FileCache
FileUpload
IOHandler
IOManager
iws
Logger
MultiPartForm
QuickSort
QuickSortString...
Realm
RealmAdmin...
RealmManager
ServletContextImpl
ServletContext...
ServletImpl
ServletManager
Utils

Servlet API
CGI
SSI
Servlets
Config Files
Log Files
Classes
Directory Tree

Samples
Sales
Legal
Feedback

 

java.lang.Object
 |
 +--stec.iws.RealmManager

public class RealmManager

Contains methods used to load and unload Realms.

Methods

Method Description
isRealmLoaded Returns whether the specified Realm is loaded.
loadRealm Used to load the specified Realm alias.
unloadRealm Used to unload the specified Realm alias.

isRealmLoaded

Returns whether the specified Realm is loaded.

Syntax

public static boolean isRealmLoaded(String alias)
                                    throws Exception

Parameters

alias an existing Realm alias.

Returns

boolean whether the specified Realm is loaded.

Throws

Nothing

Example

RealmManager.isRealmLoaded("default");

loadRealm

Used to load the specified Realm alias.

Syntax

public static Realm loadRealm(String alias) throws Exception

Parameters

alias an existing Realm alias.

Returns

Realm context to the loaded Realm.

Throws

Exception if any errors occurs.

Example

RealmManager.loadRealm("default");

unloadRealm

Used to unload the specified Realm alias.

Syntax

public static void unloadRealm(String alias) throws Exception

Parameters

alias an existing Realm alias.

Returns

Nothing

Throws

Exception if any errors occurs.

Example

RealmManager.unloadRealm("default");
 top of page
 Built with iScript Copyright © 1997-2000 Servertec. All rights reserved.
Last Modified: Thu Aug 10 13:06:59 EDT 2000