Extensions - phax/phoss-smp GitHub Wiki
The SMP server is extensible in certain ways.
Creating a new backend
A backend defines how the data is persisted (e.g. in a database, file system etc.).
What you basically need to do is the following:
- Create a new backend sub-project (like
phoss-smp-backend-xml) - Implement the class
com.helger.phoss.smp.domain.ISMPManagerProviderin your project (the manager factory) - Implement the SPI class
com.helger.phoss.smp.backend.ISMPBackendRegistrarSPIin your project - Create a new webapp sub-project (like
phoss-smp-webapp-xml) that references your backend