本文整理汇总了Java中org.jboss.as.controller.PersistentResourceXMLDescription类的典型用法代码示例。如果您正苦于以下问题:Java PersistentResourceXMLDescription类的具体用法?Java PersistentResourceXMLDescription怎么用?Java PersistentResourceXMLDescription使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PersistentResourceXMLDescription类属于org.jboss.as.controller包,在下文中一共展示了PersistentResourceXMLDescription类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例10: getParserDescription
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
@Override
public PersistentResourceXMLDescription getParserDescription() {
return xmlDescription;
}
示例11: getParserDescription
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
@Override
public PersistentResourceXMLDescription getParserDescription() {
return XML_DESCRIPTION;
}
示例12: getMapperParser
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
protected PersistentResourceXMLDescription getMapperParser() {
return new MapperParser().getParser();
}
示例13: getMapperParser
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
PersistentResourceXMLDescription getMapperParser() {
return new MapperParser(true).getParser();
}
示例14: getDomainParser
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
PersistentResourceXMLDescription getDomainParser() {
return domainParser;
}
示例15: getDirContextParser
import org.jboss.as.controller.PersistentResourceXMLDescription; //导入依赖的package包/类
PersistentResourceXMLDescription getDirContextParser() {
return dirContextParser;
}