本文整理匯總了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