Class Config.Duck
- java.lang.Object
-
- com.sun.enterprise.config.serverbeans.Config.Duck
-
-
Constructor Summary
Constructors Constructor Description Duck()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addIndex(Config c, org.glassfish.hk2.api.ServiceLocator habitat, String name)
static <P extends ConfigExtension>
booleancheckIfExtensionExists(Config c, Class<P> configBeanType)
static void
createResourceRef(Config config, String enabled, String refName)
static void
deleteResourceRef(Config config, String refName)
static NetworkListener
getAdminListener(Config c)
static Map<String,String>
getLoggingProperties(Config c)
static ResourceRef
getResourceRef(Config config, String refName)
static boolean
isDas(Config c)
static boolean
isResourceRefExists(Config config, String refName)
static String
setLoggingProperty(Config c, String property, String value)
static Map<String,String>
updateLoggingProperties(Config c, Map<String,String> properties)
-
-
-
Method Detail
-
isDas
public static boolean isDas(Config c)
-
setLoggingProperty
public static String setLoggingProperty(Config c, String property, String value)
-
updateLoggingProperties
public static Map<String,String> updateLoggingProperties(Config c, Map<String,String> properties)
-
getAdminListener
public static NetworkListener getAdminListener(Config c)
-
addIndex
public static void addIndex(Config c, org.glassfish.hk2.api.ServiceLocator habitat, String name)
-
checkIfExtensionExists
public static <P extends ConfigExtension> boolean checkIfExtensionExists(Config c, Class<P> configBeanType)
-
createResourceRef
public static void createResourceRef(Config config, String enabled, String refName) throws TransactionFailure
- Throws:
TransactionFailure
-
getResourceRef
public static ResourceRef getResourceRef(Config config, String refName)
-
deleteResourceRef
public static void deleteResourceRef(Config config, String refName) throws TransactionFailure
- Throws:
TransactionFailure
-
-