public ModelNode registerDeploymentSubsystemResource ( final String subsystemName , final Resource resource ) { assert subsystemName != null : "The subsystemName cannot be null" ; assert resource != null : "The resource cannot be null" ; return registerDeploymentSubResource ( subsystemName , PathAddress . EMPTY_ADDRESS , resource ) ; }
Registers the resource to the parent deployment resource . The model returned is that of the resource parameter .