use of com.sun.enterprise.deployment.archivist.Archivist in project Payara by payara.
the class StandAloneAppClientInfo method postConstruct.
public void postConstruct() {
Archivist archivist = archivistFactory.getArchivist(ModuleType.CAR.toString(), getClassLoader());
if (!(archivist instanceof AppClientArchivist)) {
throw new IllegalArgumentException("expected an app client module but " + appClientArchive.getURI().toASCIIString() + " was recognized by " + archivist.getClass().getName());
}
appClientArchivist = (AppClientArchivist) archivist;
setDescriptor(appClientArchivist.getDescriptor());
}
Aggregations