public abstract class ServicePlugin extends Object implements Plugin
| Constructor and Description |
|---|
ServicePlugin() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSettingsDefinitionpublic ServiceInterface getServiceInterface(String token) throws UserException
UserExceptionprotected void registerNewRevisionHandler(long uoid,
ServiceDescriptor serviceDescriptor,
NewRevisionHandler newRevisionHandler)
protected void unregisterNewRevisionHandler(long uoid,
ServiceDescriptor serviceDescriptor)
protected BimServerClientInterface getLocalBimServerClientInterface(AuthenticationInfo tokenAuthentication) throws ServiceException, ChannelConnectionException
public void init(PluginContext pluginContext) throws PluginException
Plugininit in interface PluginpluginContext - The context of the plugin, you can store this object as a field and use it laterPluginException - When the init method throws a PluginException, this will always disable the pluginpublic void registerNewExtendedDataOnProjectHandler(long uoid,
ServiceDescriptor serviceDescriptor,
NewExtendedDataOnProjectHandler newExtendedDataHandler)
public PluginContext getPluginContext()
public void registerNewExtendedDataOnRevisionHandler(long uoid,
ServiceDescriptor serviceDescriptor,
NewExtendedDataOnRevisionHandler newExtendedDataHandler)
public abstract void register(long uoid,
SInternalServicePluginConfiguration internalService,
PluginConfiguration pluginConfiguration)
pluginConfiguration - public abstract void unregister(SInternalServicePluginConfiguration internalService)
public final SPluginType getPluginType()
getPluginType in interface PluginCopyright © 2018 OpenSource BIM. All rights reserved.