org.netbeans.modules.j2ee.deployment.plugins.api
Interface RegistryNodeFactory


public interface RegistryNodeFactory

This interface allows plugin to create all the registry nodes (other than the root node) as Node subclasses, and use FilterNode to generate the display, adding infrastructure actions in, and exposing certain infrastructure to the plugins for use in constructing nodes. Use a look-like infrastructure so migration to looks can happen easier. Plugins need to register an instance of this class in module layer in folder J2EE/DeploymentPlugins/{plugin_name}.

See Also:
Node, FilterNode

Method Summary
 org.openide.nodes.Node getManagerNode(org.openide.util.Lookup lookup)
          Return node representing the admin server.
 org.openide.nodes.Node getTargetNode(org.openide.util.Lookup lookup)
          Provide node representing Deployment API Target object.
 

Method Detail

getManagerNode

org.openide.nodes.Node getManagerNode(org.openide.util.Lookup lookup)
Return node representing the admin server. Children of this node are filtered. Start/Stop/Remove/SetAsDefault actions will be added by FilterNode if appropriate.

Parameters:
lookup - will contain DeploymentFactory, DeploymentManager, Management objects.
Returns:
admin server node.

getTargetNode

org.openide.nodes.Node getTargetNode(org.openide.util.Lookup lookup)
Provide node representing Deployment API Target object. Start/Stop/SetAsDefault actions will be added by FilterNode if appropriate.

Parameters:
lookup - will contain DeploymentFactory, DeploymentManager, Target, Management objects.
Returns:
target server node

 

Built on March 27 2006.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.