forked from opensourceBIM/BIMserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Embedding
Ruben de Laat edited this page Jul 9, 2013
·
1 revision
Sometimes it is useful to embed the BIMserver in another application, this page describes how to do this.
Note: This way no webserver will be started so the web userinterface and SOAP/REST are not available.
- Create a BIMserver instance
BimServer bimServer = new BimServer(new File("home"), new LocalDevelopmentResourceFetcher());
- Load plugins
bimServer.getPluginManager().loadPluginsFromEclipseProject(new File("../CityGML"));
bimServer.getPluginManager().loadPluginsFromEclipseProject(new File("../Collada"));
bimServer.getPluginManager().loadPluginsFromEclipseProject(new File("../IfcPlugins"));
bimServer.getPluginManager().loadPluginsFromEclipseProject(new File("../MiscSerializers"));
bimServer.getPluginManager().loadPluginsFromEclipseProject(new File("../IfcEngine"));
bimServer.getPluginManager().loadPluginsFromEclipseProject(new File("../buildingSMARTLibrary"));
- Start the server
bimServer.start();
- Use the BIMserver. All useful objects are available with getters on the BimServer object.
BimDatabase bimDatabase = bimServer.getDatabase();
SettingsManager settingsManager = bimServer.getSettingsManager();
ServiceInterface systemService = bimServer.getSystemService();
EmfSerializerFactory emfSerializerFactory = bimServer.getEmfSerializerFactory();
DiskCacheManager diskCacheManager = bimServer.getDiskCacheManager();
VersionChecker versionChecker = bimServer.getVersionChecker();
ServiceFactory serviceFactory = bimServer.getServiceFactory();
ServerInfo serverInfo = bimServer.getServerInfo();
MailSystem mailSystem = bimServer.getMailSystem();
PluginManager pluginManager = bimServer.getPluginManager();
MergerFactory mergerFactory = bimServer.getMergerFactory();
LongActionManager longActionManager = bimServer.getLongActionManager();
Deployment
Developers
- Service Interfaces
- Clients
-
Plugin Development
- [Serializer Plugin](https://github.com/opensourceBIM/BIMserver/wiki/Serializer Plugin)
- [Deserializer Plugin](https://github.com/opensourceBIM/BIMserver/wiki/Deserializer Plugin)
- Model Compare Plugin
- Model Merge Plugin
- Query Engine Plugin
- Render Engine Plugin
- ObjectIDM Plugin
- Schema Plugin
- Service Plugin
BIMServer Developers
- Eclipse
- Eclipse Modeling Framework
- Embedding
- Terminology
- Database/Versioning
- IFC STEP Encoding
- Communication
General