本文整理汇总了Java中org.jboss.as.controller.PersistentResourceXMLDescription类的典型用法代码示例。如果您正苦于以下问题:Java PersistentResourceXMLDescription类的具体用法?Java PersistentResourceXMLDescription怎么用?Java PersistentResourceXMLDescription使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PersistentResourceXMLDescription类属于org.jboss.as.controller包,在下文中一共展示了PersistentResourceXMLDescription类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getParserDescription
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
@Override
public PersistentResourceXMLDescription getParserDescription() {
return PersistentResourceXMLDescription.builder(ElytronExtension.SUBSYSTEM_PATH, getNameSpace())
.addAttribute(ElytronDefinition.DEFAULT_AUTHENTICATION_CONTEXT)
.addAttribute(ElytronDefinition.INITIAL_PROVIDERS)
.addAttribute(ElytronDefinition.FINAL_PROVIDERS)
.addAttribute(ElytronDefinition.DISALLOWED_PROVIDERS)
.addAttribute(ElytronDefinition.SECURITY_PROPERTIES, new AttributeParsers.PropertiesParser(null, SECURITY_PROPERTY, true), new AttributeMarshallers.PropertiesAttributeMarshaller(null, SECURITY_PROPERTY, true))
.addChild(getAuthenticationClientParser())
.addChild(getAuditLoggingParser())
.addChild(getProviderParser())
.addChild(getDomainParser())
.addChild(getRealmParser())
.addChild(getMapperParser())
.addChild(getTlsParser())
.addChild(getDirContextParser())
.addChild(decorator(CREDENTIAL_STORES).addChild(new CredentialStoreParser().parser))
.addChild(getSaslParser())
.addChild(getHttpParser())
.addChild(getPolicyParser())
.addChild(getCredentialSecurityFactoryParser())
.build();
}
开发者ID:wildfly,项目名称:wildfly-core,代码行数:24,代码来源:ElytronSubsystemParser2_0.java
示例2: getParserDescription
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
@Override
public PersistentResourceXMLDescription getParserDescription() {
return builder(SUBSYSTEM_ROOT_INSTANCE.getPathElement(), NAMESPACE)
.addChild(
builder(SERVER_INSTANCE.getPathElement())
.addAttributes(SECURITY_ENABLED, STATISTICS_ENABLED)
.addAttribute(INTERCEPTORS)
.addAttribute(COMPLEX_LIST)
.addAttribute(COMPLEX_LIST_WITH_DEFAULT)
.addAttribute(PROPERTIES)
.addAttribute(COMPLEX_MAP3)
.addChild(
builder(BUFFER_CACHE_INSTANCE.getPathElement())
.addAttributes(BUFFER_SIZE, BUFFERS_PER_REGION, MAX_REGIONS)
.addAttribute(ALIAS, AttributeParser.STRING_LIST, AttributeMarshaller.STRING_LIST)
)
)
.build();
}
开发者ID:wildfly,项目名称:wildfly-core,代码行数:20,代码来源:PersistentResourceXMLParserTestCase.java
示例3: getPolicyParser
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
@Override
PersistentResourceXMLDescription getPolicyParser() {
return PersistentResourceXMLDescription.builder(PathElement.pathElement(POLICY))
.addAttribute(PolicyDefinitions.JaccPolicyDefinition.POLICY)
.addAttribute(PolicyDefinitions.CustomPolicyDefinition.POLICY)
.build();
}
开发者ID:wildfly,项目名称:wildfly-core,代码行数:8,代码来源:ElytronSubsystemParser1_2.java
示例4: getCustomComponentParser
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
static PersistentResourceXMLDescription getCustomComponentParser(String componentType) {
return PersistentResourceXMLDescription.builder(PathElement.pathElement(componentType))
.setUseElementsForGroups(false)
.addAttribute(ClassLoadingAttributeDefinitions.MODULE)
.addAttribute(ClassLoadingAttributeDefinitions.CLASS_NAME)
.addAttribute(CustomComponentDefinition.CONFIGURATION)
.build();
}
开发者ID:wildfly,项目名称:wildfly-core,代码行数:9,代码来源:MapperParser.java
示例5: getParser
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
public PersistentResourceXMLDescription getParser() {
return decorator(ElytronDescriptionConstants.MAPPERS)
.addChild(getCustomComponentParser(CUSTOM_PERMISSION_MAPPER))
.addChild(logicalPermissionMapper)
.addChild(getSimpleMapperParser())
.addChild(constantPermissionMapper)
.addChild(aggregatePrincipalDecoderParser)
.addChild(concatenatingPrincipalDecoderParser)
.addChild(constantPrincipalDecoderParser)
.addChild(getCustomComponentParser(CUSTOM_PRINCIPAL_DECODER))
.addChild(x500AttributePrincipalDecoderParser)
.addChild(aggregatePrincipalTransformerParser)
.addChild(chainedPrincipalTransformersParser)
.addChild(constantPrincipalTransformersParser)
.addChild(getCustomComponentParser(CUSTOM_PRINCIPAL_TRANSFORMER))
.addChild(regexPrincipalTransformerParser)
.addChild(regexValidatingTransformerParser)
.addChild(constantRealmMapperParser)
.addChild(getCustomComponentParser(CUSTOM_REALM_MAPPER))
.addChild(simpleRegexRealmMapperParser)
.addChild(mappedRegexRealmMapperParser)
.addChild(getCustomComponentParser(CUSTOM_ROLE_DECODER))
.addChild(simpleRoleDecoderParser)
.addChild(addPrefixRoleMapperParser)
.addChild(addSuffixRoleMapperParser)
.addChild(aggregateRoleMapperParser)
.addChild(constantRoleMapperParser)
.addChild(getCustomComponentParser(CUSTOM_ROLE_MAPPER))
.addChild(logicalRoleMapperParser)
.build();
}
开发者ID:wildfly,项目名称:wildfly-core,代码行数:32,代码来源:MapperParser.java
示例6: getParserDescription
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
public PersistentResourceXMLDescription getParserDescription() {
return builder(PathElement.pathElement(SUBSYSTEM, DISCOVERY), DiscoveryExtension.NAMESPACE)
.addChild(
builder(PathElement.pathElement(STATIC_PROVIDER))
.addAttribute(StaticProviderDefinition.SERVICES, AttributeParser.UNWRAPPED_OBJECT_LIST_PARSER, AttributeMarshaller.UNWRAPPED_OBJECT_LIST_MARSHALLER)
)
.addChild(
builder(PathElement.pathElement(AGGREGATE_PROVIDER))
.addAttribute(AggregateProviderDefinition.PROVIDER_NAMES)
)
.build();
}
开发者ID:wildfly,项目名称:wildfly-core,代码行数:13,代码来源:DiscoverySubsystemParser.java
示例7: getParserDescription
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
@Override
public PersistentResourceXMLDescription getParserDescription() {
return builder(SecurityManagerRootDefinition.INSTANCE.getPathElement(), Namespace.SECURITY_MANAGER_1_0.getUriString())
.addChild(builder(DeploymentPermissionsResourceDefinition.INSTANCE.getPathElement())
.setXmlElementName(Constants.DEPLOYMENT_PERMISSIONS)
.addAttribute(DeploymentPermissionsResourceDefinition.MINIMUM_PERMISSIONS)
.addAttribute(DeploymentPermissionsResourceDefinition.MAXIMUM_PERMISSIONS)
)
.build();
}
开发者ID:wildfly,项目名称:wildfly-core,代码行数:11,代码来源:SecurityManagerSubsystemParser_1_0.java
示例8: getParserDescription
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
@Override
public PersistentResourceXMLDescription getParserDescription() {
return builder(CoreManagementExtension.SUBSYSTEM_PATH, NAMESPACE)
.addChild(builder(ConfigurationChangeResourceDefinition.PATH).addAttribute(ConfigurationChangeResourceDefinition.MAX_HISTORY))
.addChild(builder(CoreManagementExtension.PROCESS_STATE_LISTENER_PATH)
.addAttribute(ProcessStateListenerResourceDefinition.LISTENER_CLASS)
.addAttribute(ProcessStateListenerResourceDefinition.LISTENER_MODULE)
.addAttribute(ProcessStateListenerResourceDefinition.PROPERTIES)
.addAttribute(ProcessStateListenerResourceDefinition.TIMEOUT))
.build();
}
开发者ID:wildfly,项目名称:wildfly-core,代码行数:12,代码来源:CoreManagementSubsystemParser_1_0.java
示例9: getParserDescription
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
@Override
public PersistentResourceXMLDescription getParserDescription() {
return builder(IORootDefinition.INSTANCE.getPathElement(), Namespace.CURRENT.getUriString())
.addChild(
builder(WorkerResourceDefinition.INSTANCE.getPathElement())
.addAttributes(
WorkerResourceDefinition.WORKER_IO_THREADS,
WorkerResourceDefinition.WORKER_TASK_KEEPALIVE,
WorkerResourceDefinition.WORKER_TASK_MAX_THREADS,
WorkerResourceDefinition.STACK_SIZE)
.addChild(
builder(OutboundBindAddressResourceDefinition.getInstance().getPathElement())
.addAttributes(
OutboundBindAddressResourceDefinition.MATCH,
OutboundBindAddressResourceDefinition.BIND_ADDRESS,
OutboundBindAddressResourceDefinition.BIND_PORT
)
)
)
.addChild(
builder(BufferPoolResourceDefinition.INSTANCE.getPathElement())
.addAttributes(BufferPoolResourceDefinition.BUFFER_SIZE,
BufferPoolResourceDefinition.BUFFER_PER_SLICE,
BufferPoolResourceDefinition.DIRECT_BUFFERS)
)
.build();
}
开发者ID:wildfly,项目名称:wildfly-core,代码行数:28,代码来源:IOSubsystemParser_2_0.java
示例10: getParserDescription
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
@Override
public PersistentResourceXMLDescription getParserDescription() {
return xmlDescription;
}
开发者ID:wildfly-extras,项目名称:wildfly-microprofile-config,代码行数:5,代码来源:SubsytemParser_1_0.java
示例11: getParserDescription
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
@Override
public PersistentResourceXMLDescription getParserDescription() {
return XML_DESCRIPTION;
}
开发者ID:wildfly,项目名称:wildfly-nosql,代码行数:5,代码来源:OrientDriverSubsystemParser.java
示例12: getMapperParser
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
protected PersistentResourceXMLDescription getMapperParser() {
return new MapperParser().getParser();
}
开发者ID:wildfly,项目名称:wildfly-core,代码行数:4,代码来源:ElytronSubsystemParser1_1.java
示例13: getMapperParser
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
PersistentResourceXMLDescription getMapperParser() {
return new MapperParser(true).getParser();
}
开发者ID:wildfly,项目名称:wildfly-core,代码行数:4,代码来源:ElytronSubsystemParser1_0.java
示例14: getDomainParser
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
PersistentResourceXMLDescription getDomainParser() {
return domainParser;
}
开发者ID:wildfly,项目名称:wildfly-core,代码行数:4,代码来源:ElytronSubsystemParser1_0.java
示例15: getDirContextParser
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
PersistentResourceXMLDescription getDirContextParser() {
return dirContextParser;
}
开发者ID:wildfly,项目名称:wildfly-core,代码行数:4,代码来源:ElytronSubsystemParser1_0.java
示例16: getPolicyParser
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
PersistentResourceXMLDescription getPolicyParser() {
return policyParser;
}
开发者ID:wildfly,项目名称:wildfly-core,代码行数:4,代码来源:ElytronSubsystemParser1_0.java
示例17: getHttpParser
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
PersistentResourceXMLDescription getHttpParser() {
return new HttpParser().parser;
}
开发者ID:wildfly,项目名称:wildfly-core,代码行数:4,代码来源:ElytronSubsystemParser1_0.java
示例18: getSaslParser
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
PersistentResourceXMLDescription getSaslParser() {
return new SaslParser().parser;
}
开发者ID:wildfly,项目名称:wildfly-core,代码行数:4,代码来源:ElytronSubsystemParser1_0.java
示例19: getTlsParser
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
PersistentResourceXMLDescription getTlsParser() {
return new TlsParser().tlsParser;
}
开发者ID:wildfly,项目名称:wildfly-core,代码行数:4,代码来源:ElytronSubsystemParser1_0.java
示例20: getRealmParser
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
PersistentResourceXMLDescription getRealmParser() {
return new RealmParser().realmParser;
}
开发者ID:wildfly,项目名称:wildfly-core,代码行数:4,代码来源:ElytronSubsystemParser1_0.java
注:本文中的org.jboss.as.controller.PersistentResourceXMLDescription类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论