com.novell.application.console.snapin
Interface DynamicSnapin

All Superinterfaces:
Snapin

public interface DynamicSnapin
extends Snapin

Provides for the dynamic registration of snap-ins.

The DynamicSnapin interface provides for late binding of snap-in registration. It provides a place holder for arrays of snap-ins that will be registered dynamically after ConsoleOne is started.


Method Summary
 boolean doSnapinsExist(Scope theScope, SnapinContext theContext)
          Returns a boolean indicating if snap-ins actually exist for the specified scope and snap-in context.
 Snapin[] getSnapins(Scope theScope, SnapinContext theContext)
          Returns an array of snap-ins based on the scope and snap-in context specified.
 
Methods inherited from interface com.novell.application.console.snapin.Snapin
getSnapinDescription, getSnapinName, initSnapin, shutdownSnapin
 

Method Detail

getSnapins

public Snapin[] getSnapins(Scope theScope,
                           SnapinContext theContext)
Returns an array of snap-ins based on the scope and snap-in context specified.

If there is no array of snap-ins to return, null can be returned instead.

Parameters:
theScope - The conditions under which the snap-in will appear in the shell.
theContext - A reference to context information the shell may need at initialization. This reference can be null.
Returns:
An array of snap-ins specified by the scope and snap-in context. The reference to snap-in context can be null.
See Also:
Scope, SnapinContext

doSnapinsExist

public boolean doSnapinsExist(Scope theScope,
                              SnapinContext theContext)
Returns a boolean indicating if snap-ins actually exist for the specified scope and snap-in context.

return true if this snap-in could return any snap-ins from the getSnapin() call with the same parameters.

Parameters:
theScope - The conditions under which the snap-in will appear in the shell.
theContext - A reference to context information the shell may need at initialization. This reference can be null.
Returns:
A boolean set to true if there are any snap-ins for the specified scope and snap-in context, or false if no snap-ins are found.
See Also:
Scope, SnapinContext


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.