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 voidaddIndex(Config c, org.glassfish.hk2.api.ServiceLocator habitat, String name)static <P extends ConfigExtension>
booleancheckIfExtensionExists(Config c, Class<P> configBeanType)static voidcreateResourceRef(Config config, String enabled, String refName)static voiddeleteResourceRef(Config config, String refName)static NetworkListenergetAdminListener(Config c)static Map<String,String>getLoggingProperties(Config c)static ResourceRefgetResourceRef(Config config, String refName)static booleanisDas(Config c)static booleanisResourceRefExists(Config config, String refName)static StringsetLoggingProperty(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
-
-