org.wildfly.swarm.config.jca.BootstrapContext Maven / Gradle / Ivy
package org.wildfly.swarm.config.jca;
import org.wildfly.config.runtime.Implicit;
import org.wildfly.config.runtime.ResourceType;
import org.wildfly.config.runtime.ModelNodeBinding;
/**
* Bootstrap context for resource adapters
*/
@ResourceType("bootstrap-context")
public class BootstrapContext {
private String key;
private String name;
private String workmanager;
public BootstrapContext(String key) {
this.key = key;
}
public String getKey() {
return this.key;
}
/**
* The name of the BootstrapContext
*/
@ModelNodeBinding(detypedName = "name")
public String name() {
return this.name;
}
/**
* The name of the BootstrapContext
*/
@SuppressWarnings("unchecked")
public BootstrapContext name(String value) {
this.name = value;
return (BootstrapContext) this;
}
/**
* The WorkManager instance for the BootstrapContext
*/
@ModelNodeBinding(detypedName = "workmanager")
public String workmanager() {
return this.workmanager;
}
/**
* The WorkManager instance for the BootstrapContext
*/
@SuppressWarnings("unchecked")
public BootstrapContext workmanager(String value) {
this.workmanager = value;
return (BootstrapContext) this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy