Servertec RealmManager
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Add-ons
How To
Change Log
Future Plans
Knowledge Base
Documentation
Conventions
Command Line
Administrator
Localization
Programming
Security
Performance
Deployment
Java API
AccessLogEntry
Codecs
Connection
ConnectionPool...
DString
ErrorLogEntry
EventLogEntry
FileCache
FileUpload
IOHandler
IOManager
iws
Logger
MonitorEvent...
MultiPartForm
QuickSort
Realm
RealmAdmin...
RealmManager
ServletContextImpl
ServletContext...
ServletImpl
ServletManager
SocketHandler
Utils

Servlet API
CGI
SSI
Servlets
Config Files
Log Files
Classes
Directory Tree
Samples
Legal
Contact Us

 

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

public final 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 final static boolean isRealmLoaded(String alias)

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 final 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 final 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
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:56:49 EDT 2005