@ Override public void registerCapabilities ( ManagementResourceRegistration resourceRegistration ) { if ( capabilities != null ) { for ( RuntimeCapability c : capabilities ) { resourceRegistration . registerCapability ( c ) ; } } if ( incorporatingCapabilities != null ) { resourceRegistration . registerIncorporatingCapabilities ( incorporatingCapabilities ) ; } assert requirements != null ; resourceRegistration . registerRequirements ( requirements ) ; }
Register capabilities associated with this resource .