public abstract class ManagedNamespaceWithLifecycle extends ManagedNamespace implements Lifecycle
AttributeServices.ReadContext, AttributeServices.WriteContextAttributeHistoryServices.HistoryReadContext, AttributeHistoryServices.HistoryUpdateContextMethodServices.CallContextNodeManagementServices.AddNodesContext, NodeManagementServices.AddReferencesContext, NodeManagementServices.DeleteNodesContext, NodeManagementServices.DeleteReferencesContextViewServices.BrowseContext, ViewServices.RegisterNodesContext, ViewServices.UnregisterNodesContext| Constructor and Description |
|---|
ManagedNamespaceWithLifecycle(OpcUaServer server,
String namespaceUri) |
| Modifier and Type | Method and Description |
|---|---|
protected LifecycleManager |
getLifecycleManager()
Get the
LifecycleManager for this ManagedAddressSpaceFragmentWithLifecycle. |
protected void |
registerAddressSpace(AddressSpaceFragment addressSpace)
Register this
ManagedAddressSpace with its managing entity. |
protected void |
registerNodeManager(UaNodeManager nodeManager)
Register this AddressSpace's
UaNodeManager with its managing entity. |
void |
shutdown()
Execute shutdown logic, if there is any.
|
void |
startup()
Execute startup logic, if there is any.
|
protected void |
unregisterAddressSpace(AddressSpaceFragment addressSpace)
Unregister this
ManagedAddressSpace with its managing entity. |
protected void |
unregisterNodeManager(UaNodeManager nodeManager)
Unregister this AddressSpace's
UaNodeManager with its managing entity. |
getFilter, getNamespaceIndex, getNamespaceUri, newNodeId, newNodeId, newNodeId, newNodeId, newNodeId, newQualifiedNamebrowse, call, createNodeFactory, getInvocationHandler, getNodeContext, getNodeFactory, getNodeManager, getReferences, getServer, read, registerNodes, unregisterNodes, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitread, writehistoryRead, historyUpdatecallonCreateDataItem, onCreateEventItem, onDataItemsCreated, onDataItemsDeleted, onDataItemsModified, onEventItemsCreated, onEventItemsDeleted, onEventItemsModified, onModifyDataItem, onModifyEventItem, onMonitoringModeChangedaddNodes, addReferences, deleteNodes, deleteReferencesbrowse, browse, getReferences, getViewCount, registerNodes, unregisterNodespublic ManagedNamespaceWithLifecycle(OpcUaServer server, String namespaceUri)
public final void startup()
Lifecyclepublic final void shutdown()
Lifecycleprotected LifecycleManager getLifecycleManager()
LifecycleManager for this ManagedAddressSpaceFragmentWithLifecycle.LifecycleManager for this ManagedAddressSpaceFragmentWithLifecycle.protected void registerAddressSpace(AddressSpaceFragment addressSpace)
ManagedAddressSpace with its managing entity.
The default implementation registers it with the Server's AddressSpaceManager.
ManagedAddressSpaces that belong to a AddressSpaceComposite other than Server's AddressSpaceManager
should override this to register with that composite.
addressSpace - the AddressSpace to register.protected void unregisterAddressSpace(AddressSpaceFragment addressSpace)
ManagedAddressSpace with its managing entity.
The default implementation unregisters it with the Server's AddressSpaceManager.
ManagedAddressSpaces that belong to a AddressSpaceComposite other than Server's AddressSpaceManager
should override this to unregister with that composite.
addressSpace - the AddressSpace to unregister.protected void registerNodeManager(UaNodeManager nodeManager)
UaNodeManager with its managing entity.
The default implementation registers it with the server's AddressSpaceManager.
nodeManager - the UaNodeManager to register.protected void unregisterNodeManager(UaNodeManager nodeManager)
UaNodeManager with its managing entity.
The default implementation unregisters it with the server's AddressSpaceManager.
nodeManager - the UaNodeManager to unregister.Copyright © 2021. All rights reserved.