BEA Systems, Inc.

WebLogic Server 5.1.0 API Reference

weblogic.security.acl
Interface DelegatedRealm

All Known Implementing Classes:
AbstractListableRealm

public interface DelegatedRealm

This interface allows an object to notify another that it is being delegated to.

Author:
Copyright (c) 2000 by BEA WebXpress. All Rights Reserved.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.

Method Summary
 java.lang.Object getDelegator()
          Return the object that is delegating to this object.
 void setDelegator(java.lang.Object obj)
          Set the object that is delegating to this object.
 

Method Detail

setDelegator

public void setDelegator(java.lang.Object obj)
Set the object that is delegating to this object. An object that delegates some methods to this realm should call this method so that this realm knows it is being delegated to.

The delegated-to object may set some restrictions on the kinds of callers that may delegate to it, so callers should be prepared to catch a RuntimeException in case of problems.

Parameters:
the - delegating object

getDelegator

public java.lang.Object getDelegator()
Return the object that is delegating to this object. If there is no delegator, null is returned.

Documentation is available at
http://www.weblogic.com/docs51