com.sun.enterprise.config.serverbeans
Class Cluster.Duck
java.lang.Object
com.sun.enterprise.config.serverbeans.Cluster.Duck
- Enclosing interface:
- Cluster
public static class Cluster.Duck
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Cluster.Duck
public Cluster.Duck()
isCluster
public static boolean isCluster(Cluster me)
isServer
public static boolean isServer(Cluster me)
isInstance
public static boolean isInstance(Cluster me)
isDas
public static boolean isDas(Cluster me)
getReference
public static String getReference(Cluster cluster)
getInstances
public static List<Server> getInstances(Cluster cluster)
getServerRefByRef
public static ServerRef getServerRefByRef(Cluster c,
String name)
getApplicationRef
public static ApplicationRef getApplicationRef(Cluster cluster,
String appName)
getResourceRef
public static ResourceRef getResourceRef(Cluster cluster,
String refName)
isResourceRefExists
public static boolean isResourceRefExists(Cluster cluster,
String refName)
deleteResourceRef
public static void deleteResourceRef(Cluster cluster,
String refName)
throws org.jvnet.hk2.config.TransactionFailure
- Throws:
org.jvnet.hk2.config.TransactionFailure
createResourceRef
public static void createResourceRef(Cluster cluster,
String enabled,
String refName)
throws org.jvnet.hk2.config.TransactionFailure
- Throws:
org.jvnet.hk2.config.TransactionFailure
Copyright © 2012 GlassFish Community. All Rights Reserved.