@ Deprecated @ SuppressWarnings ( "deprecation" ) protected void registerAddOperation ( final ManagementResourceRegistration registration , final OperationStepHandler handler , OperationEntry . Flag ... flags ) { if ( handler instanceof DescriptionProvider ) { registration . registerOperationHandler ( getOperationDefinition ( ModelDescriptionConstants . ADD , ( DescriptionProvider ) handler , OperationEntry . EntryType . PUBLIC , flags ) , handler ) ; } else { registration . registerOperationHandler ( getOperationDefinition ( ModelDescriptionConstants . ADD , new DefaultResourceAddDescriptionProvider ( registration , descriptionResolver , orderedChild ) , OperationEntry . EntryType . PUBLIC , flags ) , handler ) ; } }
Registers add operation