@ApplicationScoped public class DefaultModuleResourcePathResolver extends Object implements ModuleResourcePathResolver
| Constructor and Description |
|---|
DefaultModuleResourcePathResolver() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(String resourceType)
Indicates if this path resolver resolves the given resource type.
|
int |
getPriority() |
Path |
resolveDefaultPath(Package pkg)
Given a package resolves where the currently accepted resourceType should be placed by default.
|
public int getPriority()
getPriority in interface ModuleResourcePathResolverpublic boolean accept(String resourceType)
ModuleResourcePathResolveraccept in interface ModuleResourcePathResolverresourceType - a file extension.public Path resolveDefaultPath(Package pkg)
ModuleResourcePathResolverresolveDefaultPath in interface ModuleResourcePathResolverpkg - A package within a module.Copyright © 2012–2021 JBoss by Red Hat. All rights reserved.