Is there any way for the DependecyProcessor class to have access to the TCCLSingletonService object ?
What I did is to set in the standalone.xml :
<subsystem name="urn:com.module.extension:1.0">
<modules>
<module name="com.module.first"/>
</modules>
</subsystem>
Then the TCCL service will get the module list within the SubsystemState object which contains a list of modules. I would like to access that list of modules from whithin the DependecyProcessor and I was wondering if there is a way for the DependencyProcessor to use the "getValue" from the TCCLservice in order to access that object .......
Any toughts/suggestions ?
ServiceController<?> myService = deploymentUnit.getServiceRegistry().getService(TCCLSingletonService. TCCLSingletonService singleton = (TCCLSingletonService) myService.getValue();