net.plsar.resources.ComponentsHolder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plsar-java Show documentation
Show all versions of plsar-java Show documentation
PLSA.R is an Open Source Server + Framework Environment
for small to large scale requirements. There are no static
references, no file reads, access to static fields per request.
Everything is either cached and or instantiated on the fly.
PLSA.R runs via one command so there are no .war files to deploy,
no additional plugins to install it is a simple yet powerful
alternative to container deployment environments.
package net.plsar.resources;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
public class ComponentsHolder {
AnnotationComponent serverStartup;
AnnotationComponent routeRegistration;
ConcurrentMap> repositories;
ConcurrentMap> services;
public ComponentsHolder(){
this.services = new ConcurrentHashMap<>();
this.repositories = new ConcurrentHashMap<>();
}
public ConcurrentMap> getRepositories() {
return repositories;
}
public void setRepositories(ConcurrentMap> repositories) {
this.repositories = repositories;
}
public ConcurrentMap> getServices() {
return services;
}
public void setServices(ConcurrentMap> services) {
this.services = services;
}
public AnnotationComponent getServerStartup() {
return serverStartup;
}
public void setServerStartup(AnnotationComponent serverStartup) {
this.serverStartup = serverStartup;
}
public AnnotationComponent getRouteRegistration() {
return routeRegistration;
}
public void setRouteRegistration(AnnotationComponent routeRegistration) {
this.routeRegistration = routeRegistration;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy