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

org.netbeans.modules.websvc.wsstack.api
Class WSStackProvider

java.lang.Object
  extended by org.netbeans.modules.websvc.wsstack.api.WSStackProvider

public final class WSStackProvider
extends Object

Entry point to obtain WSStack object. The instance of this class should be located in J2EE Server Lookup, then used to get WSStack. Usually, it's the responsibility of a J2EE Server plugin to create an instance of this class and place it into J2EE Server plugin lookup. The only way to create an instance of this class is using WSStackFactory


Method Summary
<T> WSStack<T>
getWSStack(Class<T> clazz)
          This method enables to get WSStack instance based on class type passed as argument.
 Collection<WSStack<?>> getWSStacks()
          This method enables to get all WSStack instances.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getWSStack

public <T> WSStack<T> getWSStack(Class<T> clazz)
This method enables to get WSStack instance based on class type passed as argument. It's the responsibility of WS Stack support to design a specific class that may also contain some additional WS Stack information useful for particul WS Stack type, e.g. for JAX-WS technology.

Type Parameters:
T - type parameter for Class type
Parameters:
clazz - Class type passed to obtain specific WSStack object
Returns:
WSStack instance for particular class type parameter or null;

getWSStacks

public Collection<WSStack<?>> getWSStacks()
This method enables to get all WSStack instances.

Returns:
collection of all WSStack instances or empty collection

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

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