use of org.jboss.shrinkwrap.api.spec.JavaArchive in project wildfly by wildfly.
the class JMXPropertyEditorsTestCase method deploymentAtomicBoolean.
@Deployment(name = "AtomicBoolean", managed = false)
public static Archive<?> deploymentAtomicBoolean() {
// jar
final JavaArchive jmxSAR = createArchive("AtomicBoolean");
Asset asset = createServiceAsset("AtomicBoolean", "true");
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 deploymentObjectFloat.
@Deployment(name = "ObjectFloat", managed = false)
public static Archive<?> deploymentObjectFloat() {
// jar
final JavaArchive jmxSAR = createArchive("ObjectFloat");
Asset asset = createServiceAsset("ObjectFloat", "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 deploymentDouble.
@Deployment(name = "Double", managed = false)
public static Archive<?> deploymentDouble() {
// jar
final JavaArchive jmxSAR = createArchive("Double");
Asset asset = createServiceAsset("Double", "4");
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 deploymentFile.
@Deployment(name = "File", managed = false)
public static Archive<?> deploymentFile() {
// jar
final JavaArchive jmxSAR = createArchive("File");
Asset asset = createServiceAsset("File", "/I_DONT_EXIST/DUNNO");
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 deploymentShortArray.
@Deployment(name = "ShortArray", managed = false)
public static Archive<?> deploymentShortArray() {
// jar
final JavaArchive jmxSAR = createArchive("ShortArray");
Asset asset = createServiceAsset("ShortArray", "1,20");
jmxSAR.addAsManifestResource(asset, "jboss-service.xml");
return jmxSAR;
}
Aggregations