# Script module, access to TagManage into exposed class

**URL:** <https://forum.inductiveautomation.com/t/script-module-access-to-tagmanage-into-exposed-class/8102>\
**Category:** Module Development\
**Created:** [March 5, 2014, 9:44am UTC](https://forum.inductiveautomation.com/t/script-module-access-to-tagmanage-into-exposed-class/8102 "2014-03-05T09:44:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [March 5, 2014, 9:44am UTC](https://forum.inductiveautomation.com/t/script-module-access-to-tagmanage-into-exposed-class/8102/1 "2014-03-05T09:44:15Z")

</div>

In a script module, I expose a class “test”.  
Works fin with static methods.

Into the test class, I would like to access to GatewayContext.getTagManager,  
in order to read/write SqlTags.  
How to manage it ?

```auto
	public void initializeScriptManager(ScriptManager manager) {
		manager.addScriptModule("com.test1", test.class);
...
```
