use of org.jboss.shrinkwrap.api.spec.JavaArchive in project wildfly by wildfly.
the class JMXPropertyEditorsTestCase method deploymentProperties.
@Deployment(name = "Properties", managed = false)
public static Archive<?> deploymentProperties() {
// jar
final JavaArchive jmxSAR = createArchive("Properties");
Asset asset = createServiceAsset("Properties", "prop1=ugabuga\nprop2=HAHA\nenv=${env." + USER_SYS_PROP + "}");
jmxSAR.addAsManifestResource(asset, "jboss-service.xml");
return jmxSAR;
}
use of org.jboss.shrinkwrap.api.spec.JavaArchive in project wildfly by wildfly.
the class JMXPropertyEditorsTestCase method deploymentAtomicLong.
@Deployment(name = "AtomicLong", managed = false)
public static Archive<?> deploymentAtomicLong() {
// jar
final JavaArchive jmxSAR = createArchive("AtomicLong");
Asset asset = createServiceAsset("AtomicLong", "2");
jmxSAR.addAsManifestResource(asset, "jboss-service.xml");
return jmxSAR;
}
use of org.jboss.shrinkwrap.api.spec.JavaArchive in project wildfly by wildfly.
the class JMXPropertyEditorsTestCase method deploymentLongArray.
@Deployment(name = "LongArray", managed = false)
public static Archive<?> deploymentLongArray() {
// jar
final JavaArchive jmxSAR = createArchive("LongArray");
Asset asset = createServiceAsset("LongArray", "14,15");
jmxSAR.addAsManifestResource(asset, "jboss-service.xml");
return jmxSAR;
}
use of org.jboss.shrinkwrap.api.spec.JavaArchive in project wildfly by wildfly.
the class JMXPropertyEditorsTestCase method deploymentObjectShort.
@Deployment(name = "ObjectShort", managed = false)
public static Archive<?> deploymentObjectShort() {
// jar
final JavaArchive jmxSAR = createArchive("ObjectShort");
Asset asset = createServiceAsset("ObjectShort", "10");
jmxSAR.addAsManifestResource(asset, "jboss-service.xml");
return jmxSAR;
}
use of org.jboss.shrinkwrap.api.spec.JavaArchive in project wildfly by wildfly.
the class JMXPropertyEditorsTestCase method deploymentObjectInteger.
@Deployment(name = "ObjectInteger", managed = false)
public static Archive<?> deploymentObjectInteger() {
// jar
final JavaArchive jmxSAR = createArchive("ObjectInteger");
Asset asset = createServiceAsset("ObjectInteger", "10");
jmxSAR.addAsManifestResource(asset, "jboss-service.xml");
return jmxSAR;
}
Aggregations