com.sun.enterprise.config.serverbeans
Class Resources.Duck

java.lang.Object
  extended by com.sun.enterprise.config.serverbeans.Resources.Duck
Enclosing interface:
Resources

public static class Resources.Duck
extends Object


Constructor Summary
Resources.Duck()
           
 
Method Summary
static
<T> Resource
getResourceByName(Resources resources, Class<T> type, String name)
           
static
<T> Collection<T>
getResources(Resources resources, Class<T> type)
           
static Collection<BindableResource> getResourcesOfPool(Resources resources, String connectionPoolName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resources.Duck

public Resources.Duck()
Method Detail

getResources

public static <T> Collection<T> getResources(Resources resources,
                                             Class<T> type)

getResourcesOfPool

public static Collection<BindableResource> getResourcesOfPool(Resources resources,
                                                              String connectionPoolName)

getResourceByName

public static <T> Resource getResourceByName(Resources resources,
                                             Class<T> type,
                                             String name)


Copyright © 2012 GlassFish Community. All Rights Reserved.