{
factory.detach( this.nodeFactoryListener );
final Property property = factory.property();
if( ! property.disposed() )
{
final PossibleTypesService possibleTypesService = property.service( PossibleTypesService.class );
possibleTypesService.detach( this.possibleTypesServiceListener );
}
}