本文整理汇总了Java中org.wildfly.swarm.keycloak.server.KeycloakServerFraction类的典型用法代码示例。如果您正苦于以下问题:Java KeycloakServerFraction类的具体用法?Java KeycloakServerFraction怎么用?Java KeycloakServerFraction使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
KeycloakServerFraction类属于org.wildfly.swarm.keycloak.server包,在下文中一共展示了KeycloakServerFraction类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getList
import org.wildfly.swarm.keycloak.server.KeycloakServerFraction; //导入依赖的package包/类
@Override
public List<ModelNode> getList(KeycloakServerFraction fraction) {
List<ModelNode> list = new ArrayList<>();
PathAddress address = PathAddress.pathAddress(PathElement.pathElement(SUBSYSTEM, "keycloak-server"));
ModelNode node = new ModelNode();
node.get(OP_ADDR).set(EXTENSION, "org.keycloak.keycloak-wildfly-server-subsystem");
node.get(OP).set(ADD);
list.add(node);
node = new ModelNode();
node.get(OP_ADDR).set(address.toModelNode());
node.get(OP).set(ADD);
list.add(node);
return list;
}
开发者ID:wildfly-swarm-archive,项目名称:ARCHIVE-wildfly-swarm,代码行数:19,代码来源:KeycloakServerConfiguration.java
示例2: KeycloakServerConfiguration
import org.wildfly.swarm.keycloak.server.KeycloakServerFraction; //导入依赖的package包/类
public KeycloakServerConfiguration() {
super(KeycloakServerFraction.class);
}
开发者ID:wildfly-swarm-archive,项目名称:wildfly-swarm-keycloak,代码行数:4,代码来源:KeycloakServerConfiguration.java
示例3: defaultFraction
import org.wildfly.swarm.keycloak.server.KeycloakServerFraction; //导入依赖的package包/类
@Override
public KeycloakServerFraction defaultFraction() {
return new KeycloakServerFraction();
}
开发者ID:wildfly-swarm-archive,项目名称:wildfly-swarm-keycloak,代码行数:5,代码来源:KeycloakServerConfiguration.java