@ Override public boolean clearServices ( ) throws ServiceException { if ( ! this . graphStoreManager . canBeModified ( ) ) { log . warn ( "The dataset cannot be modified." ) ; return false ; } log . info ( "Clearing services registry." ) ; this . graphStoreManager . clearDataset ( ) ; // Generate Event this . getEventBus ( ) . post ( new ServicesClearedEvent ( new Date ( ) ) ) ; return true ; }
Deletes all the services on the registry . This operation cannot be undone . Use with care .