org.netbeans.modules.websvc.serverapi/0 1.0

org.netbeans.modules.websvc.wsstack.api
Class WSStack<T>

java.lang.Object
  extended by org.netbeans.modules.websvc.wsstack.api.WSStack<T>

public final class WSStack<T>
extends Object

Main API class providing all necessary information about the server capability for particular WS Stack


Nested Class Summary
static interface WSStack.Feature
          Marking interface for WS Feature identifier.
static class WSStack.Holder
          Enumeration of WS Stack Holders: determines the location WS Stack libraries.
static interface WSStack.Tool
          Marking interface for WS Tool identifier.
 
Method Summary
 T get()
          Returns an instance of type parameter ().
 WSStack.Holder getHolder()
          Information who is the holder of tis WS Stack: determines the location WS Stack libraries.
 WSStackVersion getVersion()
          WS Stack Version information.
 WSTool getWSTool(WSStack.Tool toolId)
          Returns WSTool for particular WS Stack Tool (e.g.
 boolean isFeatureSupported(WSStack.Feature feature)
          Informs if WS feature is supported by particular WS stack.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public T get()
Returns an instance of type parameter (). This object provides additional information about WS Stack. It's responsibility of particular WS Stack support to specify this class and what kind of information should be stored in it.

Returns:
object of class or null

getVersion

public WSStackVersion getVersion()
WS Stack Version information.

Returns:
WS Stack version

getWSTool

public WSTool getWSTool(WSStack.Tool toolId)
Returns WSTool for particular WS Stack Tool (e.g. wsimport), based on toolId.

Parameters:
toolId - WS tool identifier
Returns:
WSTool API object

isFeatureSupported

public boolean isFeatureSupported(WSStack.Feature feature)
Informs if WS feature is supported by particular WS stack. (e.g. JSR_109, WSIT, ... )

Parameters:
feature - WS feature identifier
Returns:
true if supported, false if not

getHolder

public WSStack.Holder getHolder()
Information who is the holder of tis WS Stack: determines the location WS Stack libraries. (options are: Holder.SERVER, Holder.IDE or Holder.JDK)

Returns:
holder of WS Stack

org.netbeans.modules.websvc.serverapi/0 1.0

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