Class RelativePathService
java.lang.Object
org.jboss.as.controller.services.path.AbstractPathService
org.jboss.as.controller.services.path.RelativePathService
- All Implemented Interfaces:
org.jboss.msc.Service,org.jboss.msc.service.Service<String>,org.jboss.msc.value.Value<String>
AbstractPathService implementation for paths that are relative
to other paths.- Author:
- Brian Stansberry, Richard Opalka
-
Field Summary
Fields inherited from interface org.jboss.msc.service.Service
NULL -
Method Summary
Modifier and TypeMethodDescriptionstatic org.jboss.msc.service.ServiceController<?>addService(String name, String relativePath, String relativeTo, org.jboss.msc.service.ServiceTarget serviceTarget) static org.jboss.msc.service.ServiceController<?>addService(org.jboss.msc.service.ServiceName name, String path, boolean possiblyAbsolute, String relativeTo, org.jboss.msc.service.ServiceTarget serviceTarget) Installs a path service.static org.jboss.msc.service.ServiceController<?>addService(org.jboss.msc.service.ServiceName name, String relativePath, String relativeTo, org.jboss.msc.service.ServiceTarget serviceTarget) static voidaddService(org.jboss.msc.service.ServiceName name, org.jboss.dmr.ModelNode element, org.jboss.msc.service.ServiceTarget serviceTarget) protected StringMethods inherited from class org.jboss.as.controller.services.path.AbstractPathService
getValue, isAbsoluteUnixOrWindowsPath, pathNameOf, start, stop
-
Method Details
-
addService
-
addService
-
addService
public static org.jboss.msc.service.ServiceController<?> addService(org.jboss.msc.service.ServiceName name, String path, boolean possiblyAbsolute, String relativeTo, org.jboss.msc.service.ServiceTarget serviceTarget) Installs a path service.- Parameters:
name- the name to use for the servicepath- the relative portion of the pathpossiblyAbsolute-trueifpathmay be anabsolute pathand should beinstalled as suchif it is, with anyrelativeToparameter ignoredrelativeTo- the name of the path thatpathmay be relative toserviceTarget- theServiceTargetto use to install the service- Returns:
- the ServiceController for the path service
-
addService
public static void addService(org.jboss.msc.service.ServiceName name, org.jboss.dmr.ModelNode element, org.jboss.msc.service.ServiceTarget serviceTarget) -
resolvePath
- Specified by:
resolvePathin classAbstractPathService
-