@ Override public void destroy ( ) throws Exception { final boolean trace = TraceComponent . isAnyTracingEnabled ( ) ; if ( trace && tc . isEntryEnabled ( ) ) Tr . entry ( this , tc , "destroy" , id ) ; tracker . close ( ) ; StringBuilder filter = new StringBuilder ( FilterUtils . createPropertyFilter ( AbstractConnectionFactoryService . ID , id ) ) ; filter . insert ( filter . length ( ) - 1 , ' ' ) ; builder . removeExistingConfigurations ( filter . toString ( ) ) ; if ( trace && tc . isEntryEnabled ( ) ) Tr . exit ( this , tc , "destroy" ) ; }
Destroy this application - defined resource by removing its configuration and the configuration of all other services that were created for it .