|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.elkoserver.server.gatekeeper.Gatekeeper
public class Gatekeeper
The Gatekeeper itself as presented to its configured Authorizer
object. This is the Authorizer's linkage back to the systems that
do most of the real work in the Gatekeeper.
| Method Summary | |
|---|---|
void |
ensureAuthorizedAdmin(BasicProtocolActor from)
Guard function to guarantee that an operation is being attempted by an actor who is authorized to do admin operations. |
ObjDB |
openObjectDatabase(String propRoot)
Open an asynchronous database. |
BootProperties |
properties()
Get the server's configuration properties. |
RefTable |
refTable()
Get the object reference table for this gatekeeper. |
void |
requestReservation(String protocol,
String context,
String actor,
ArgRunnable handler)
Issue a request for a reservation to the Director. |
String |
serverName()
Get the Gatekeeper's name. |
Trace |
trace()
Get the trace object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void ensureAuthorizedAdmin(BasicProtocolActor from)
throws MessageHandlerException
MessageHandlerException - if this actor is not authorized to
perform administrative operations.public ObjDB openObjectDatabase(String propRoot)
propRoot - Prefix string for all the properties describing the
database that is to be opened.
public BootProperties properties()
public RefTable refTable()
public void requestReservation(String protocol,
String context,
String actor,
ArgRunnable handler)
protocol - The protocol for the requested reservation (i.e., the
protocol that the client wishes to speak to the server providing the
context).context - The requested context.actor - The requested actor.handler - Object to handle the reservation result. When the
result becomes available, it will be passed as an instance of ReservationResult.public String serverName()
public Trace trace()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||