org.netbeans.modules.j2eeserver/4 1.55.0 1

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


Deprecated. use the Common Server SPI for registering nodes

public interface RegistryNodeFactory

Do not use this class anymore, use Common Server SPI to display nodes. 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
 Node getManagerNode(Lookup lookup)
          Deprecated. Return node representing the admin server.
 Node getTargetNode(Lookup lookup)
          Deprecated. Provide node representing Deployment API Target object.
 

Method Detail

getManagerNode

Node getManagerNode(Lookup lookup)
Deprecated. 
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

Node getTargetNode(Lookup lookup)
Deprecated. 
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

org.netbeans.modules.j2eeserver/4 1.55.0 1

Built on December 1 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.