public abstract class AEmbeddableContainerResolver extends AContainerResolver
SYS_PROP_CONTAINER_ROOT_DIR
Constructor and Description |
---|
AEmbeddableContainerResolver(IClassSpaceBuilder classSpaceBuilder,
org.pfsw.tools.cda.base.model.container.BundleContainerSpecification parentContainerSpec) |
Modifier and Type | Method and Description |
---|---|
protected org.pfsw.tools.cda.base.model.ClassContainer |
createClassContainer(java.lang.String containerName,
java.io.File realFile)
Creates a new container object based on the name and the physical representation.
|
protected java.lang.String |
determineContainerFullName(java.io.File file) |
protected java.lang.String |
determineContainerQualifiedName(java.io.File file) |
protected java.lang.String |
determineRelativeName(java.io.File file) |
protected abstract org.pfsw.tools.cda.base.model.container.ContainerType |
getContainerType(java.io.File file)
Returns the type of this container.
|
protected org.pfsw.tools.cda.base.model.container.BundleContainerSpecification |
getParentContainerSpec() |
protected boolean |
hasParentContainerSpec() |
boolean |
resolveContainer(java.io.File file) |
addContainerToClassSpace, appContext, asAbsoluteFile, coll, fileUtil, findOrCreateContainer, getClassSpaceBuilder, getDefinitionFrom, getLogger, getWorkset, setClassSpaceBuilder, str
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resolveContainers
public AEmbeddableContainerResolver(IClassSpaceBuilder classSpaceBuilder, org.pfsw.tools.cda.base.model.container.BundleContainerSpecification parentContainerSpec)
protected abstract org.pfsw.tools.cda.base.model.container.ContainerType getContainerType(java.io.File file)
public boolean resolveContainer(java.io.File file)
protected org.pfsw.tools.cda.base.model.ClassContainer createClassContainer(java.lang.String containerName, java.io.File realFile)
containerName
- The full container name.realFile
- The real file on the file system.protected java.lang.String determineRelativeName(java.io.File file)
protected java.lang.String determineContainerFullName(java.io.File file)
protected java.lang.String determineContainerQualifiedName(java.io.File file)
protected boolean hasParentContainerSpec()
protected org.pfsw.tools.cda.base.model.container.BundleContainerSpecification getParentContainerSpec()